i write 2 two
java application (in separate file)
one is called SubclassB.java and another one is SuperclassA.java
-----------------------------------------------
when i compile the SuperclassA.java, no problem. But when i compile SubclassB.java this errors come up:
C:\My Documents\Java\SubclassB.java:3: package packageA does not exist
import packageA.*;
^
C:\My Documents\Java\SubclassB.java:5: cannot resolve symbol
symbol : class SuperclassA
location: class packageB.SubclassB
public class SubclassB extends SuperclassA
^
C:\My Documents\Java\SubclassB.java:16: cannot resolve symbol
symbol : class SuperclassA
location: class packageB.AnyClassB
SuperclassA obj = new SuperclassA( );
^
C:\My Documents\Java\SubclassB.java:9: cannot resolve symbol
symbol : method superclassMethodA ()
location: class packageB.SubclassB
superclassMethodA();
^
C:\My Documents\Java\SubclassB.java:16: cannot resolve symbol
symbol : class SuperclassA
location: class packageB.AnyClassB
SuperclassA obj = new SuperclassA( );
^
5 errors
Tool completed with exit code 1
do i have to set my -classpath or what ? pls tell me...i'm new in java.
[ February 12, 2002: Message edited by: Cindy Glass ]