install locations for OpenJDK 7...
swingler at apple.com
Sun Dec 13 17:31:30 PST 2009
Even if JDK 7 can be introduced into the Mac OS X Java version system, Eclipse will still have to modify their launcher to use it. Last I recall, they were still hard coding paths into /System/Library/Frameworks/JavaVM.framework/...
I can't say it enough - to get the "best" $JAVA_HOME on the Mac, use:
It takes version and architecture requirements as command line parameters - check it out.
Java Runtime Engineer
On Dec 13, 2009, at 5:24 PM, David Green wrote:
> It would be great to be able to run Eclipse with JDK 7. Currently
> Eclipse can run on JDK 7 however the eclipse launcher executable can
> only launch it with a Java that has the Apple framework layout.
> On Sunday, December 13, 2009, Ray Kiddy <ray at ganymede.org> wrote:
>> After I moved (and added to) Landon's instructions for building
>> OpenJDK 7 on Mac OS X 10.5 (http://wikis.sun.com/display/OpenJDK/Darwin9Build
>> ), I moved the "install this version as current" info to another page.
>> Right now, this is at http://wikis.sun.com/display/OpenJDK/Switching+Java+Versions+on+Mac+OS+X
>> Is there any interest in packaging the OpenJDK 7 binaries into a real
>> Mac OS X-compatible location? One can put them somewhere under /usr
>> and make sure that /usr/bin/java points to the right version and this
>> is good for server-ish things, but there may be reasons to install the
>> OpenJDK 7 binaries under /System/Library/Frameworks/JavaVM.framework/
>> Versions/. There is a whole other kind of directory structure under
>> there. I believe that if we want to have regular Cocoa applications
>> that use java to use the OpenJDK 7 VM, it would have to be installed
>> in the JavaVM.framework....
>> Or do we care? Or has this been slated to be done at some future time?
>> Now that I got past my build issues, I looked at the info about
>> running tests. I can see what might be needed to run jtreg. Ha ha.
>> Yeah. Like anyone would want to sign up for that....
>> Perhaps there are bsdport-specific tools for invoking whatever tests
>> can be run? Yes? No?
>> Well, anyway, now I have the JDK built. I can experiment with my
>> server-based frameworks. But if there is any kind of path to assist
>> testing on Mac OS X, I would be interested in hearing about it. And I
>> would not be surprised if there is some info that can go to the wiki.
>> cheers - ray
More information about the bsd-port-dev