On 20 Apr 2006, at 21:58, Bruce Snyder wrote:

On 4/20/06, Jim Jagielski <[EMAIL PROTECTED]> wrote:

A short shell script which adjusts CurrentJDK back and
forth between 1.5.0 and 1.4.2 is all that's needed. The
Java Preferences panel in Utilities doesn't cut it.

Thanks for David Blevins, here is what I use:

http://docs.codehaus.org/display/ninja/setjdk

Bruce


that's nice and neat but does it also need to set $JAVA_VERSION?

I've had builds of different projects get all upset when the java version on the path is 1.4.2 but the JAVA_VERSION env var is set to the 1.5.

rgds
Conrad

Reply via email to