Planet M.U.L.E.
Planet Mule 1 => Bugs 1.3.x => Topic started by: irelandm on November 20, 2012, 09:40
Title: Ubuntu 12.10: mule.sh: 11: mule.sh: /bin/java: not found Post by: irelandm on November 20, 2012, 09:40 When running mule.sh on my Ubuntu 12.10 machine, I get:
mule.sh: 11: mule.sh: /bin/java: not found The closest reference I could find on the 'nets about something similar is from (a bug report for some other software) http://sourceforge.net/tracker/index.php?func=detail&aid=3535595&group_id=189407&atid=929202 which states: Quote The issue is actually due to JAVA_HOME not set. The way to fix it is to set JAVA_HOME correctly. For example: > JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386/ > export JAVA_HOME The developers can easily fix this issue if they replace the use of JAVA_HOME with simply callimg for "java" in the script. For example, instead of: $JAVA_HOME/bin/java -Xmx128m -Dmetahome=$METAHOME -Djava.system.class.loader=nz.govt.natlib.meta.config.Loader write: java -Xmx128m -Dmetahome=$METAHOME -Djava.system.class.loader=nz.govt.natlib.meta.config.Loader JAVA_HOME is not set up on every UNIX system. Yet if java is installed, calling directly for java will always work. I hope this helps, because following the above commands does indeed work. I will hopefully love to play this old game because I played it as a kid on the 'ole Commodore 64C. :D Cheers! |