Wednesday, February 01, 2006

Glassfish on Mac OS X

Yay! Curious, I coerced my bookah to download the JDK 1.5 for the Mac OS X. I unpacked the tarball from

As mentioned before it bails out on ant -f setup.xml, complaining it didn't find any JDK 1.5 compatible JVM. The fix is to do the following (take note that setenv is csh or tcsh shell dependent):

setenv JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home
setenv PATH .:$JAVA_HOME/bin:$PATH

And viola! ant -f setup.xml will happily run along.

I love my mac!

No comments: