openjdk-osx-build

Michael Hall mik3hall at gmail.com
Thu Apr 7 02:43:39 PDT 2011


On Apr 7, 2011, at 12:43 AM, Henri Gomez wrote:

> No problem for me :
> 
>  export JAVA_HOME=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home
>  javac Exists.java
>  java Exists Exists.class
>> file Exists.class exists is true

Thanks Henri,
But didn't prove much.
I forget the reason but unfortunately on OS X you can't use export

export JAVA_HOME=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home
javac -version
javac 1.6.0_24

Strange in that for this to compile for you then you almost have to be using a 7 JDK somehow.
But not necessarily the one you did the export on.
For me anyhow its a bug. I'll probably see if I can figure out how to write one up later.

Did you ever get anywhere on this bsd-port error?
http://web.archiveorange.com/archive/v/62l67tyqXp9UvWmdMKv3


More information about the macosx-port-dev mailing list