I can't get my lab to work. It's definately a setup issue, since the solution posted does the same thing:
C:\Programming\CSI1102\Lab08>java HectorTest.java
Exception in thread "main" java.lang.NoClassDefFoundError: HectorTest/java
Does anyone have an idea as to what might be wrong? I've never gotten this before.
My java woes continued...
Trying to directly execute Java source code won't work. After compiling the java source file with javac (e.g., <code>javac Foo.java</code>), type <code>java Foo</code> to execute the bytecode stored in the <code>Foo.class</code> file, which was produced by <code>javac</code>.
<hr/>
Edit: Rewording things to be more clear (I hope
).
<hr/>
Edit: Rewording things to be more clear (I hope