I am getting this error
Exception in thread "main" java.lang.NoClassDefFoundError: TestApp (wrong name: Test/TestApp)
which I have googled and tried suggestions, but it doesn't fix it. I have tried unsetting my CLASSPATH etc. and it doesn't work. The file TestApp.class IS in the directory that I am running the program from.
I only get this error when I try and put my two classes in "package Test;" Otherwise it executes fine.
Thanks for the help