Build of jdk-7udev: Error occurred during initialization of VM

Kelly O'Hair kelly.ohair at oracle.com
Wed Nov 14 23:27:28 UTC 2012


It is my understanding that the latest invoke dynamic hotspot/jdk changes has created a situation
where you need to build the entire jdk forest or have an import jdk7 that has these new apis or whatever
the dependency is.

I don't build jdk7 updates much anymore, but somebody should be providing some guidance here
to the developers on how to deal with this, it's out of my control.

Good luck.

-kto

On Nov 14, 2012, at 2:39 PM, Pete Brunet wrote:

> I recloned hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk today and the build
> failed as follows:
> 
> make[3]: Entering directory
> `/cygdrive/c/Users/Pete/JDK7u/jdk7u-dev/jdk/make/com/sun/jmx'
> /usr/bin/mkdir -p
> ../../../../build/windows-i586/classes/javax/management/remote/rmi
> rm -f
> ../../../../build/windows-i586/classes/javax/management/remote/rmi/RMIConnectionImpl_Stub.class
> ../../../../build/windows-i586/bin/java -XX:-PrintVMOptions
> -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -client -Xmx512m
> -Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m -cp
> ../../../../build/windows-i586/classes sun.rmi.rmic.Main -classpath
> "../../../../build/windows-i586/classes"    \
>                -d ../../../../build/windows-i586/classes              \
>                -v1.2                           \
>                -keepgenerated                  \
>                javax.management.remote.rmi.RMIConnectionImpl
> Error occurred during initialization of VM
> java/lang/NoClassDefFoundError: java/lang/invoke/AdapterMethodHandle
> make[3]: ***
> [../../../../build/windows-i586/classes/javax/management/remote/rmi/RMIConnectionImpl_Stub.class]
> Error 1
> make[3]: Leaving directory
> `/cygdrive/c/Users/Pete/JDK7u/jdk7u-dev/jdk/make/com/sun/jmx'




More information about the build-dev mailing list