Skip to main content

Many hurdles trying to buil December JDK 7 snapshot

1 reply [Last post]
aaime
Offline
Joined: 2003-06-10
Points: 0

Hi,
I'm unsuccessfully trying to build the JDK 7 December source snapshot. I need to build the Sun JDK specifically because I'm trying to look into an issue with the Ductus renderer scalability in multithreaded rendering enviroments (server side java2d usage, not Swing), and Ductus is available only in Sun JDK.

First failure was related to missing javax.crypto classes. I've worked around using the suggestions contained here:
http://forums.java.net/jive/thread.jspa?messageID=362783&#362783

Second failure was a Computer.gif missing in the windows plaf. At first I thought I mis-setup ALT_BINARY_PLUGS_PATH, but in fact not even the binary plugs contain that file. Ended up copying it from an OpenJDK, and to put it directly in the jdk sources to have the build continue.

The last error I've stumbled upon is:

make[6]: Entering directory `/home/aaime/devel/jdk7/december_snapshot/jdk/make/org/ietf/jgss'
# Java sources to be compiled: (listed in file /home/aaime/devel/jdk7/december_snapshot/build/linux-i586-fastdebug/tmp/sun/org.ietf.jgss/.classes.list)
../../../../src/share/classes/org/ietf/jgss/ChannelBinding.java
../../../../src/share/classes/org/ietf/jgss/GSSContext.java
../../../../src/share/classes/org/ietf/jgss/GSSCredential.java
../../../../src/share/classes/org/ietf/jgss/GSSException.java
../../../../src/share/classes/org/ietf/jgss/GSSManager.java
../../../../src/share/classes/org/ietf/jgss/GSSName.java
../../../../src/share/classes/org/ietf/jgss/MessageProp.java
../../../../src/share/classes/org/ietf/jgss/Oid.java
# Running javac:
/usr/lib/jvm/jdk1.6.0_16/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -client -Xmx896m -Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m -Xbootclasspath/p:/home/aaime/devel/jdk7/december_snapshot/build/linux-i586-fastdebug/langtools/dist/bootstrap/lib/javac.jar -jar /home/aaime/devel/jdk7/december_snapshot/build/linux-i586-fastdebug/langtools/dist/bootstrap/lib/javac.jar -g -source 7 -target 7 -encoding ascii -Xbootclasspath:/home/aaime/devel/jdk7/december_snapshot/build/linux-i586-fastdebug/classes -sourcepath ../../../../src/closed/solaris/classes:../../../../src/closed/share/classes:/home/aaime/devel/jdk7/december_snapshot/build/linux-i586-fastdebug/gensrc:../../../../src/solaris/classes:../../../../src/share/classes -d /home/aaime/devel/jdk7/december_snapshot/build/linux-i586-fastdebug/classes @/home/aaime/devel/jdk7/december_snapshot/build/linux-i586-fastdebug/tmp/sun/org.ietf.jgss/.classes.list.filtered
../../../../src/share/classes/sun/security/jgss/GSSUtil.java:201: cannot access SecretKey
tempTkt.getSessionKey().getEncoded(),
^

which seems to be again related to jce...

How can I solve this one?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
anthony_p
Offline
Joined: 2006-07-24
Points: 0

I think you could ask build-dev@openjdk.java.net