Le 30 mars 04, � 02:06, jacques couzteau a �crit :

...i get the following error:
You must set JAVA_HOME to point at your Java Development Kit installation...

FYI, I use the following script to setup my java environment under macosx 10.3.3:


# setjdk script
export JDK=/System/Library/Frameworks/JavaVM.framework/Versions/$1/Home/

if [[ -d $JDK ]]
then
        echo "using $JDK as the current jdk..."
        export JAVA_HOME=$JDK
        export PATH=$JAVA_HOME/bin:$PATH
else
        echo "setjdk error: $JDK directory does not exist"
fi


Then, doing either . setjdk 1.4.1 or . setjdk 1.3.1

In the shell where I compile and run allows me to test Cocoon (or other java stuff) with the different JDKs.
-Bertrand



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to