Hello Francesco,
you can need to include the binary files (executable binary JVM) in your
PATH, include something like this in your .bash_profile or .bashrc
export JAVA_HOME=/usr/local/jdk1.6.0 # Path to JVM
export
CLASSPATH=./:/home/sfmb/apps/Jess61p5/jess.jar:/home/sfmb/src/java/three
# where you have your classes and jars
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/javaws:$PATH # path to the
binary files
best regards
Sergio
--
Brett Viren wrote:
Francesco Pietra <[EMAIL PROTECTED]> writes:
jmol-11.0.RC4-binary.tar.gz
decompressed, gives
jmol.jar
as executable.
Could you please direct me where to learn how to run
jar with either java or classmath installed from
I'm no Java expert, but I have one Java application I use (GraXML)
that is in a jar file. Below is the wrapper script I use, maybe it
helps.
#!/bin/sh
script=$1
export GRAXML_HOME=/home/bviren/work/dayabay/GraXML-3.1.8
JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.08
export
LD_LIBRARY_PATH=${GRAXML_HOME}/lib:${JAVA_HOME}/jre/lib/i386/xawt:${LD_LIBRARY_PATH}
java -Xmx512M -jar ${GRAXML_HOME}/lib/GraXMLDisplay.exe.jar $script
#############
-Brett.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]