Building Mac OS X

Douglas Simon doug.simon at oracle.com
Wed Aug 22 08:58:10 PDT 2012


We've now integrated the latest HotSpot changes and GraalVM now works with the 7u6 release at http://www.oracle.com/technetwork/java/javase/downloads/index.html.

-Doug

On Jul 30, 2012, at 5:59 AM, Douglas Simon <doug.simon at oracle.com> wrote:

> We've discovered that the breakage is most likely due to this change in HotSpot:
> 
> http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/8f972594effc
> 
> Fixing it should be as simple as pulling in the latest changes from the right OpenJDK hotspot repository. We'll probably do this in the next couple of days and push it out.
> 
> -Doug
> 
> On Jul 29, 2012, at 5:05 PM, Sam Pullara wrote:
> 
>> JDK7u5 works so it is something that changed.
>> 
>> Thanks,
>> Sam
>> 
>> On Jul 29, 2012, at 4:54 PM, Douglas Simon <doug.simon at oracle.com> wrote:
>> 
>>> Hi Sam,
>>> 
>>> I see that is a developer preview release (http://jdk7.java.net/download.html) which I don't think any of us have tried yet. I can certify that the 7u5 official release for MacOS (http://www.oracle.com/technetwork/java/javase/downloads/index.html) still works. We'll look into what changed in 7u6 and hopefully have a fix pushed before too long. There might be a bit of a delay given that most of us are occupied with the JVM Language Summit this week.
>>> 
>>> -Doug
>>> 
>>> On Jul 29, 2012, at 4:27 PM, Sam Pullara wrote:
>>> 
>>>> I'm using the latest JDK7u6 released from Oracle:
>>>> 
>>>> macpro:graal sam$ java -version
>>>> java version "1.7.0_06-ea"
>>>> Java(TM) SE Runtime Environment (build 1.7.0_06-ea-b21)
>>>> Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode)
>>>> 
>>>> Then I executed:
>>>> 
>>>> echo "JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_06.jdk/Contents/Home" >mx/env
>>>> ./mx.sh build
>>>> 
>>>> Those both completed successfully.  Finally when I run the vm command, I get this:
>>>> 
>>>> macpro:graal sam$ ./mx.sh vm
>>>> Error occurred during initialization of VM
>>>> java.lang.NullPointerException
>>>> 	at java.util.Hashtable.put(Hashtable.java:542)
>>>> 	at java.lang.System.initProperties(Native Method)
>>>> 	at java.lang.System.initializeSystemClass(System.java:1115)
>>>> 
>>>> Looks like a null value is being provided at initialization. Any ideas on how to get this part to work?
>>>> 
>>>> Thanks,
>>>> Sam
>>>> 
>>> 
>> 
> 



More information about the graal-dev mailing list