Classnotfound error at run-time on java
Setup Java classpath on window
1. Go to Computer Properties ->Advanced->Environment Variables.
You need to append the Java classes that contains all the libraries that supports your application.
These are the most important java folders that have all the utilities or classes you need.
Just find the directory of the important java folders like bin, lib and jre. You will not worry on running your programs or applications because it is really pointing to all your java classes set in the environment variables on windows system.
For beginners, i recommend you to use IDE like eclipse or netbeans because it will set all the java libraries upon making your java project.