Posted by aaime
on May 2, 2010 at 8:04 AM PDT
I've been trying for a while to build JDK 7 (not OpenJDK, the Sun/Oracle one) from sources on a Linux 64bit box without success.
I've tried different distributions, all attempts fail with the same error, the compile failure of
java/security/Signature.java because the compiler cannot find the javax.crypto package.
Running "make sanity" does not report significant issues (besides the fact that I'm trying to build on Ubuntu, but I've also tried on Fedora and the build issue is the same).
The full build log is here:
The file I use to setup the proper enviroment contains:
# no mozilla headers, building on a 64bit platform
I looked around and the crypto package is contained in the jce.jar file is available in build/linux-amd64-fastdebug/lib, but that jar is not included in the classpath used for the compilation of Signature.
What am I doing wrong? Is there anybody that can build Sun/Oracle JDK 7 from sources?
(btw, I can build OpenJDK just fine, but I need to be able to build the Sun one to investigate a scalability issue with the Ductus renderer, which has been reported here if you're curious:
Message was edited by: aaime