C:\Users\Kenny\Desktop\testpackage\TestSuperClass.java:
package testpackage;
public class TestSuperClass {
}
C:\Users\Kenny\Desktop\testpackage\TestSubClass.java:
package testpackage;
public class TestSubClass extends TestSuperClass {
}
I can compile TestSuperClass.java, but when I try to compile TestSubClass.java, I get the following error:
TestSubClass.java:2: cannot find symbol
symbol: class TestSuperClass
public class TestSubClass extends TestSuperClass {
^
My classpath is set with the following line:
set CLASSPATH=C:\Users\Kenny\Desktop\testpackage
Can anyone explain to me what I'm doing wrong?


Sign In
Create Account

Back to top









