Java: how to get openjdk8u60 sources
2 answers
My take:
- Install mercurial to
/usr/bin
. - Go to the directory where you want to download the jdk8 sources.
- Run there:
hg clone http://hg.openjdk.java.net/jdk8u/jdk8u/
-
cd jdk8u/
-
chmod +x get_source.sh
-
LANG=C
-
./get_source.sh
- Make coffee.
- Read the built-in README-builds.html (located at
jdk8u
as indicated in this example) to build sources from the resulting data, depending on your system. - Enjoy.
+6
source to share
if you browse the hg repository you will find that the organization is as follows: there are different repositories for different versions and there is one repository for the "dev version", at http://hg.openjdk.java.net/jdk8u/jdk8u you will find the current the stable release labeled jdk8u60-b12, so each new commit on this branch represents the current stable release of jdk8u60. if you want to grab the dev version of the same jdk you should clone the repository at http://hg.openjdk.java.net/jdk8u/jdk8u-dev/
+2
source to share