Error building openJDK7

Tim Bell Tim.Bell at Sun.COM
Thu Mar 26 13:58:31 UTC 2009


Hi Neale:
> I’m trying to build the JDK for the first time. I grabbed the sources 
> from the mercurial repository and followed the FAQ to perform the build. 
> It builds a heap of stuff before it dies with the following:
> 
> error: com.sun.jmx.snmp.SnmpValue: class file for 
> com.sun.jmx.snmp.SnmpValue not found
> error: class file for com.sun.jmx.snmp.SnmpValue not found
> 
> The source code for the above class is there but it doesn’t appear to be 
> being compiled. Is this a known problem or a newbie mistake easily fixed?

This is bug-id 6819847 "build is broken for OpenJDK with plugs"

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6819847

the work around is to define
   IMPORT_BINARY_PLUGS=true

This was an unintended consequence of the fix for
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6661448

Hope this helps-

Tim Bell



More information about the build-dev mailing list