The topic says it all.
My file reads:
/opt/j2re/bin/java -server mypackage.MyClass
When I run from the command line:
./file
I get "ClassNotFoundException mypackage/MyClass"
But when I run from the command line:
/opt/j2re/bin/java -server mypackage.MyClass
Everything works fine.
I've also tried:
/opt/j2re/bin/java -server /pathtothepackage/mypackage.MyClass
Please help
[ June 17, 2004: Message edited by: Adam S. ]