[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: Re: java



Francesco Pietra <chiendarret@yahoo.com> 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.



Reply to: