Oracle Java 7 Developper Preview for OSX vs OpenJDK 7

Scott Kovatch scott.kovatch at oracle.com
Mon Apr 23 09:54:14 PDT 2012


On Apr 23, 2012, at 9:04 AM, Henri Gomez wrote:

> 2012/4/23 Dr Heinz M. Kabutz <heinz at javaspecialists.eu>:
>> 32-bit support is very useful for research purposes - I would definitely
>> welcome having it back.  Otherwise it means having to also have Java 6
>> available, just for testing purposes.
> 
> I patched OSX build process a bit and I've got now a 32/64bits VM
> working on OpenJDK 7 :
> 
> java -d32 -version
> openjdk version "1.7.0-jdk7u4-b21"
> OpenJDK Runtime Environment (build 1.7.0-jdk7u4-b21-20120423)
> OpenJDK Server VM (build 23.0-b21, mixed mode)
> 
> java -d64 -version
> openjdk version "1.7.0-jdk7u4-b21"
> OpenJDK Runtime Environment (build 1.7.0-jdk7u4-b21-20120423)
> OpenJDK 64-Bit Server VM (build 23.0-b21, mixed mode)
> 
> It was mainly uncomments of features already included in OpenJDK 7 trunk.
> 
> Patch available here :
> 
> http://openjdk-osx-build.googlecode.com/svn/trunk/patches-jdk7u-osx/universal-build.patch

I haven't tried this, but I noticed in jdk/src/macosx/bin/universal/jvm.cfg you have

-server KNOWN
-client IGNORE

Should that be '-client KNOWN' ? I thought the 32-bit JVM is a client-tuned hotspot. I could be wrong, based on the output of 'java -d32 version'.

-- Scott K.

----------------------------------------
Scott Kovatch
scott.kovatch at oracle.com
Santa Clara/Pleasanton, CA



More information about the macosx-port-dev mailing list