Hello,<br><br>I noticed on <a href="http://login.ci.uchicago.edu">login.ci.uchicago.edu</a> that I was not able to launch swift. Even though I had "+java-sun" in ~/.soft, the system was pointing me to gcj. Normally in ubuntu, something like "update-java-alternatives -s java-6-sun" lets you switch JVMs, but as far I know it makes changes system wide (requiring root access) and not on a per-user basis. Then I set $JAVA_HOME to the correct path and it still wouldn't launch. Should the swift shell script test for $JAVA_HOME to determine the correct location? Maybe something like this would work:<br>
<br>### EXECUTE ############<br>if test -n "$CYGWIN"; then<br> set CLASSPATHSAVE=$CLASSPATH<br> export CLASSPATH="$LOCALCLASSPATH"<br> eval java ${OPTIONS} ${COG_OPTS} ${EXEC} ${CMDLINE}<br> export CLASSPATH=$CLASSPATHSAVE<br>
else<br> if [ -n "$JAVA_HOME" ]; then<br> eval $JAVA_HOME/bin/java ${OPTIONS} ${COG_OPTS} -classpath ${LOCALCLASSPATH} ${EXEC} ${CMDLINE}<br> else<br> eval java ${OPTIONS} ${COG_OPTS} -classpath ${LOCALCLASSPATH} ${EXEC} ${CMDLINE}<br>
fi<br>fi<br>return_code=$?<br><br>exit $return_code<br><br>