Games in Progress: 3 | Players logged in: 3 | Players Registered: 37413 | Games Played Total: 68649
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Ubuntu 12.10: mule.sh: 11: mule.sh: /bin/java: not found  (Read 611 times)
irelandm
Mule Forum Newbie
*
Posts: 1


View Profile
« 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.  Cheesy  Cheers!
Logged
Pages: [1]
  Print  
 
Jump to: