simple package problem ,please help
package test;
public interface Ya
{
public void doit();
}
this is stored in cd\jdk1.3\test as Ya.java and compiled it in the same directory.
NExt i make
package test;
public class make implements Ya
{
public void doit()
{
System.out.println("Hi");
}
}
when I compile it in cd\jdk1.3\test
it says
cannot resolve symbol Ya.
? whats going on?
[475 byte] By [
sseans] at [2007-9-26 2:13:45]

Hi! All you need is to set the environment variable classpath. If you are working in NT environment, go to my computer, right click it, choose properties. Search tabs for the "environment variables" buttons, click it.
In the variable list click new, enter variable name classpath and then give the value c:\jdk1.3. i.e, the parent directory of your package. Compile all classes.
If you are a 98/Me user, edit autoexec.bat and write,
set classpath=c:\jdk1.3
you have to execute autoexec.bat or simply restart your computer simply to activate changes.
See your os manual for setting environmental variables if you are working in another os.