(b) modify the "Java Home" link underneath OS X using UNIX
commands. This is
one of the approaches that I would consider a hack because (unless
from Apple wants to chime in and tell us differently) Apple recommends
against it. One reason is that they will release system updates
it without you knowing it. For example, my "up-to-date" Leopard
currently points to 1.5, but I suspect an update in the future will
it to point to 1.6.
Ding, I think Pratik is from Apple.
I'm not sure what he suggested works though?
I made the change to my .bash_profile he suggested.
I added this to an ant build file.
So it doesn't change the javac that is used?
That would seem to make sense given this setup for javac
ls -l /usr/bin/javac
lrwxr-xr-x 1 root wheel 78 Nov 16 2007 /usr/bin/javac -> /System/
which shows it completely dependent on what CurrentJDK links to, not
a java home setting.
Maybe I should of looked at what Giuliano recommended for XCode, this
might duplicate it.
But what appears to work for Terminal run Ant is...
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