mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: May 31 2006,14:52 |
|
1) cd /opt/quickfixjLN/bin/ $0 This doesn't look right....if you're just trying to cd to the directory containing the script it should be either cd /opt/quickfixjLN/bin/ or cd `dirname $0`. I'm not sure what adding $0 will do to a cd command that already contains a path, but it might be nothing damaging. In any case, it's best not to tempt a command by sending it incompatible parameters.
2) The CLASSPATH is utilizing relative paths, so you need to be in the directory containing "output" and "lib" when the *.Banzai command is run. This might already be the case, though i don't know what the directory structure of the program is. Typically path variables should use absolute paths, or paths that are made absolute with the addition of variables or command substitution, to avoid troubles like this.
3) Do you have the variable $JAVA_HOME available to the script (is it being exported prior to running the script)? If not, you should add a line to export $JAVA_HOME
4) What does your *.lnk file look like?
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|