Java Environmental Variable Settings

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 ]

Published by Chaitanya

I am a family man, perpetual learner, coffee drinker, dessert eater and Happiness Engineer at Automattic. I also read, write, move, and meditate.

Leave a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: