I created a file called \"Hello.java\" that looks like this:
public class Hello { public static void main(String[] args) { System.out
Try java testpackage.Hello.
java testpackage.Hello
Because this is in your classpath, you should be able to run that from any working directory, but refer to it by its full name.