Question

In the Java source from http://download.java.net/jdk6/source/ I get a jar of size ~130mb. The jar don't attach to Eclipse, and inside it has a file called "X_X" of size ~130mb. Does anyone know what's happening?

--update

Thanks Gerco Drie,

now, about this README file:

JDK requires a high level of technical expertise. (...) If you are not a technical professional in one of these categories, this release is probably not for you.

so, where is the already buid one for me? I'm using Java 6 update 15.

--update

The site http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/jdkfiles.html says the src.zip is in the root jdk folder (yes, I remember it was last time I needed it), but its not.. Is my jdk a pirate version? :P

Was it helpful?

Solution

You need to run the jarfile, not extract it or link it to eclipse. The instructions are here:

http://download.java.net/jdk6/6u20/promoted/b01/docs/build/README-JRL.html

These files are jar files that need to be run, not un-jar'd, for example: java -jar filename.jar

I think BalusC is right by the way, this is not the sourcecode you want. You probably want the rt.jar sourcecode, which is in src.zip with the JDK. What you downloaded is the complete sourcecode of the JVM, hotspot compiler, etc included. Although it also includes the class libraries, there is an easier way.

OTHER TIPS

The distribution you download is a self-extracting file which displays a license YOU MUST ACCEPT before the things you need are extracted.

Run it, and see if it answers your issues.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top