Where can I get the source code for sun classes?
Hello,
When ever you download sun's j2sdk, the archive always contains the source code for the entire sdk in a zip file called src.zip except the sun.xxx classes like sun.awt.print.PrintDialog or sun.awt.font.FontResolver.
For debugging purposes I need, if availabe, the source code of these classes which are not present in the src.zip.
Please can someone tell me if theses classes are available as source and can point me where I can find it cause I am searching for it but can't find it on the net.
Thank you
Carolin
About halfway down this page is a link to get the source http://java.sun.com/j2se/index.jsp
Thanks to ChuckBing, but this is not what I'm asked for.
As I mentioned above, i' ve already downloaded a jdk (1.4.2_06) and the contained scr.zip. I do not look for the sources included in this src.zip, I search the source of the sun classes which are NOT contained in the src.zip, like like sun.awt.print.PrintDialog or sun.awt.font.FontResolver.
But in the meanwhile, thanks to google, I found the download link:
http://wwws.sun.com/software/communitysource/j2se/java2/download.html
Bye Carolin
That link is to the licensing for that same source code...Check things a little more closely.
As SynnyFunny indicated, http://wwws.sun.com/software/communitysource/j2se/java2/download.htmlis the correct and best link to get to the Java Source Code download. You do have to go through the licensing agreement, but that is clearly the intent of the design of the web
If Mr. Bing had actually done the download, like I have, he would know that.
> If Mr. Bing had actually done the download, like I
> have, he would know that.
And your way is the only way, right? No.
As I said, if the OP had checked , the page I referred them to explains the licensing restrictions and provides the following link:
?Download JDK 5.0 source via SCSL
Which is a link to the exact same page - Sun Community Source License - you said "is the correct and best link to get to the Java Source Code download."
It also has a link to another download page for the Java Research License Download:
?Download JDK 5.0 source via JRL
Which, apparently you don't even know exists - seeing as how you omitted any mention of it.
Oh! There are two licenses now? SCSL and JRL? Are there more? I would like to collect all six but I would have to send in twelve cereal box tops for that. I do not feel like eating that much cereal.
Seriously, My. Bing, how much do you know about the source to any version of Java? Have you ever build a JDK? It can be done, but it can also be a pain in the a*s. I believe that the O.P.'s needs have been satisfied. Now, we just need to address you needs: Please have the last word.
Hey ChuckBing
> And your way is the only way, right? No.
What on earth is eating you? Highly sensitive today?
Where is the problem? There are two solutions of the question.
The one link I posted points directly to the sun source download link. The "readme" explains, yippie, the sun sources are contained. Easy, isn't it?
With the other one, you have to navigate at least through two other pages before you might find the link and only if you recognize that "Download JDK 5.0 source via SCSL/JRL" means the sun source code and not the sources contained in the JDK download. This is what I thought as I've seen this link the first time. Unfortunately there is no "readme".
I prefer the easy way, I dont want to earn a doctorate. Ok, you can say dont "play the woman", but I'm a woman and a blonde too;-)
But, let us stop the idle discussion here, please!
Nevertheless, thanks to you and amorrow@earthlink.net for answering.