Problems with non Oracle boot JDKs and class file version 52

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Dec 6 15:51:06 PST 2012


Yes, I've been affected by this.  I was using Ubuntu 12.04, using the 
default system JDK detected by configure. The problem went away when I 
specified an Oracle-build of JDK.

-- Jon


On 12/06/2012 03:35 PM, David Holmes wrote:
> I've now seen two people encounter problems trying to build Profiles 
> using the new build system, when their boot JDK is the locally 
> installed IcedTea openjdk distribution (7 in one case and 6 in another).
>
> The error occurs creating jar files eg
>
> Creating resources.jar
> Error occurred during initialization of VM
> java/lang/UnsupportedClassVersionError: sun/misc/PostVMInitHook :
> Unsupported major.minor version 52.0
>
> Are we using bootclasspath tricks that only work on Oracle JDK?
>
> David
>




More information about the build-infra-dev mailing list