I'm trying to compile a program I'm writing using a file for one of the classes.
here's my file menu.java:
Code:
public class menu
{ void storage()
{ System.out.println("storage");
}
}
and here's the java file with the main method:
Code:
import menu.*;
public class test
{ menu menu1 = new menu();
public static void main(String[] args)
{ System.out.println("test");
}
}
and I'm getting the error
Code:
test.java:1: package menu does not exist
I've exported the classpath, "echo $CLASSPATH" shows ":/home/epoo/game/:./"
Any ideas?