C
Chris
Ok, this is really embarrassing. I'm an experience Java developer, and
shouldn't have to ask a question like this.
On one of my computers, I put Test.class in C:\, cd to it, and run "java
Test". Everything runs fine.
On another computer I do the same thing and get
Exception in thread "main" get java.lang.NoClassDefFoundError: Test
What could possibly be going on?
Both computers are running Windows. The code is identical in both cases.
Yes, the class is in the right directory. No, the class is not part of a
package.
shouldn't have to ask a question like this.
On one of my computers, I put Test.class in C:\, cd to it, and run "java
Test". Everything runs fine.
On another computer I do the same thing and get
Exception in thread "main" get java.lang.NoClassDefFoundError: Test
What could possibly be going on?
Both computers are running Windows. The code is identical in both cases.
Yes, the class is in the right directory. No, the class is not part of a
package.