I have Windows 7, installed jdk1.7.0 and its supporting jre7. My problem is compilation part works perfectly, but while running the Java program I get this error saying:
Simple way to compile and execute java file.(HelloWorld.java doesn't includes any package)
set path="C:\Program Files (x86)\Java\jdk1.7.0_45\bin" javac "HelloWorld.java" java -cp . HelloWorld pause