Yet another Java classpath problem
- by pypmannetjies
Hi
I've been working on a project in Netbeans. Now I'd like to submit it and allow the markers to compile it with a script. However, I get the NoClassDefFoundError when I try to run via the command line. Even when setting the classpath to the current directory manually.
javac Main.java works fine
then calling java -classpath . Main gives:
java…