Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
OpenJDK 1.7 under OS/X and question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OpenJDK 1.7 under OS/X and question



Hi to all,

We're working on OpenJDK 1.7 build under OS/X and have set a project
on GoogleCode :

http://code.google.com/p/openjdk-osx-build/

It works pretty well in both 32 and 64bits mode :

/Library/Java/JavaVirtualMachines/openjdk-1.7-i586/Contents/Home/bin/java
-version

openjdk version "1.7.0-internal"
OpenJDK Runtime Environment (build 1.7.0-internal-henri_2010_11_29_23_08-b00)
OpenJDK Server VM (build 20.0-b02, mixed mode)


/Library/Java/JavaVirtualMachines/openjdk-1.7-x86_64/Contents/Home/bin/java
-version

openjdk version "1.7.0-internal"
OpenJDK Runtime Environment (build 1.7.0-internal-henri_2010_11_29_23_12-b00)
OpenJDK 64-Bit Server VM (build 20.0-b02, mixed mode)

Info.plist and libjava.dylib (under Contents/MacOS) where added, and I
could get OpenJDK 1.7 on Java Preferences

BTW, when I set OpenJDK 1.7 as primary VM, 32 or 64 bits and enter
java in console I get :

java -version

Error: could not find libjava.dylib
Error: Could not find Java SE Runtime Environment.


Same problem was reported last year with soylatte
(http://lists.apple.com/archives/java-dev/2009/Jun/msg00139.html).


libjava.dylib exist under
/Library/Java/JavaVirtualMachines/openjdk-1.7-x86_64/Contents/MacOS
and /Library/Java/JavaVirtualMachines/openjdk-1.7-i586/Contents/Home/MacOS.
What could be the problem since the error is not clear ? arch problem
? missing path in library loader ?

Regards
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.