Hello,
I am rather new at using shell scripts, so I was wondering if anyone could tell me what I am doing wrong here. This is the simple script I put in a file called guitest.sh. I execute it from the working directory /root/Documents with: sh guitest.sh
However I get a \"java.lang.NoClassDefFoundError: ZGUI\" error back from evm. I can execute the command with the whole classpath stuff in there directly from bash without a problem, but when I throw it in a script I get this error. I am getting into using the Zaval light weight gui components and I wanted to make a script so I wouldn\'t have to type the classpath stuff in every time I opened up the shell. Thanks.
Note that the \"evm -cp ... ZGUI\" is on one line but it seems phpBB won\'t display it that way.
#!/bin/bash
echo "Starting Java GUI Test..."
evm -cp .:/mnt/card/root/Documents/:/root/Documents/lw.jar:/mnt/card/opt/QtPalmtop/lib/awt.jar:/mnt/card/opt/QtPalmtop/lib/core.jar:/root/Documents/lwtext.jar ZGUI
exit 0
~AIG