JAVA_HOME and OSX
Henri Gomez
henri.gomez at gmail.com
Wed Nov 9 00:24:25 PST 2011
Hi to all,
I just seen a problem with OpenJDK 8 and OSX.
java works when providing full path :
mbp:workspace henri$
/Library/Java/JavaVirtualMachines/openjdk-1.8-x86_64/Contents/Home/bin/java
-version
openjdk version "1.8.0-b11-fastdebug"
OpenJDK Runtime Environment (build 1.8.0-b11-fastdebug-20111109)
OpenJDK 64-Bit Server VM (build 23.0-b03-fastdebug, mixed mode)
java fail when setting JAVA_HOME :
mbp:workspace henri$ export
JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk-1.8-x86_64/Contents/Home
mbp:workspace henri$ java -version
Error: could not find libjava.dylib
Error: Could not find Java SE Runtime Environment.
It was something allready present in openjdk 1.7 from bsd-port and
patch is provided.
For now, I'll add it to my packaging build process, but it will be
fine to get it included in MLVM patches.
Cheers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: java_md.c.patch
Type: application/octet-stream
Size: 349 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20111109/edb6eb1c/java_md.c.patch
More information about the mlvm-dev
mailing list