When I tried to compile my HelloWorldApp.java file using the following command:
it worked (for being able to do this simple thing I had to change a lot of variables).
But then when I tried to Run the program using:
it gave me the error:
Exception in thread "main" java.lang.noclassdef
To solve this error I tried various commands like:
java -classpath . HelloWorldApp
java -classpath . HelloWorldApp.class
but to no avail. Can anyone help me out with this problem?