I created a file called \"Hello.java\" that looks like this:
public class Hello { public static void main(String[] args) { System.out
Now that it's in testpackage, its name is really testpackage.Hello. So go up a directory and do java on that.
testpackage
testpackage.Hello
java