Question

My version of JDK won't run classes, even when they're in the current directory. What should I set my classpath to?

Answer

Remember always to include the current directory in your classpath. For example, on Windows systems, you might need to try

jre -cp .\  MyJavaApplication ,  or

java -cp .\ MyJavaApplication


Back