I know nothing about Java, so I should keep quiet here.... but a friend phoned me today with exactly the same error message. He was trying to run his java code on another windows machine. His code runs on the machine he wrote it on but will not run anywhere else, he has tried other win boxes and Macs and wanted to try my Linux. It may be more than a path problem. David On Friday 17 October 2003 1:07 pm, Adagilson Batista Bispo da Silva wrote:
So, I put the command line: export JAVA_ROOT=/usr/lib/java ...in /etc/profile.local and echo $JAVA_ROOT is returning the correct path (/usr/lib/java) whichever terminal is open. Although, the same error continues to be shown: adagilson@linux:~>java -classpath Wapaka.jar:WPKScriptLibs.jar:WPKScript.jar:. Wapaka Unable to initialize threads: cannot find class java/lang/Thread
Thanks for keeping trying.