Till date, I installed Java software hundreds of times.Even then I have to spend sometime(though very few minutes) troubleshooting and I don’t get it correct at first time.So decided to write down basic settings in this blog so that I can just refer this if at all I forget next time!
JAVA_HOME = C:\Program Files\Java\jdk1.5.0_14\ [ to let know other apps like Tomcat, where Java is ]
CLASSPATH = . [ to look for class file in current directory ]
PATH = JAVA_HOME\bin [ to find tools like javac, java etc ]