Error: Could not find or load main class hello
The error is because of wrong classpath setting.
classpath should be jre lib rather than jdk\jre\lib.
Example path: C:\Program Files\Java\jre7\lib
Dont set the jdk\jre\lib path C:\Program Files\Java\jdk1.7.0\jre\lib.
If you are going to set the throught the system properties, ensure the semicolon(;) given at the end.
Thanks for reading this post………!!
391 total views, 2 views today