Easy to Learn Java: Programming Articles, Examples and Tips

Start with Java in a few days with Java Lessons or Lectures


Code Examples

Java Tools

More Java Tools!

Java Forum

All Java Tips


Submit News
Search the site here...
Search the JavaFAQ.nu
1000 Java Tips ebook

1000 Java Tips - Click here for the high resolution copy!1000 Java Tips - Click here for the high resolution copy!

Java Screensaver, take it here

Free "1000 Java Tips" eBook is here! It is huge collection of big and small Java programming articles and tips. Please take your copy here.

Take your copy of free "Java Technology Screensaver"!.

I heard many times from Java lectors: ''If you are interested how new feature wa

JavaFAQ Home » General Java Go to all tips in General Java

Bookmark and Share

Question: I heard many times from Java lectors: "If you are interested how new feature was implemented in JDK please check the source code...". I tried to find the source code but have not succeeded.
Of course, I can decompile class files but could be good to have "original" source code from SUN, not from hacking tools Smile

Answer: I found the SUN's page and what was there:
"Sun is making the source code to the Java 2 platform available to the developer community. This offering is intended to further propel innovation of the Java platform and provide developers with easier access to Java platform sources while still maintaining compatibility.
Do You Need The Source Code?

In most cases, you do not need the source. In fact, most developers will find all the basic resources and tools they need in the Java 2 Software Development Kit (formerly known as the JDK 1.2).

The source code to the Java 2 platform can be invaluable if you are doing any of the following:

  • conducting research work
  • debugging possible platform bugs
  • adding enhancements which require access to platform internals

Additional info: the source code can be found in the source.zip file in directory where your J2SDK is installed (not JRE!). Do not forget to mark the option "Java Source files" during the installation of J2SDK, otherwise it will not be copied to the J2SDK folder.

But building, porting, and testing the Java 2 platform source code requires a high level of technical expertise. "

P.S. About last sentence: I am pretty sure that all readers of my newsletter have it.
Our older tips: March 22, 2001 - October 21, 2002 read here.
All published and not published on site tips you can find here

 Printer Friendly Page  Printer Friendly Page
 Send to a Friend  Send to a Friend

.. Bookmark and Share

Search here again if you need more info!
Custom Search

Home Code Examples Java Forum All Java Tips Books Submit News, Code... Search... Offshore Software Tech Doodling

RSS feed Java FAQ RSS feed Java FAQ News     

    RSS feed Java Forums RSS feed Java Forums

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest 1999-2006 by Java FAQs Daily Tips.

Interactive software released under GNU GPL, Code Credits, Privacy Policy