Java Environmental Variable Settings

Till date, I installed Java soft­ware hun­dreds of times.Even then I have to spend sometime(though very few min­utes) trou­bleshoot­ing and I don’t get it cor­rect at first time.So decid­ed to write down basic set­tings in this blog so that I can just refer this if at all I for­get next time!

JAVA_HOME = C:\Program Files\Java\jdk1.5.0_14\ [ to let know oth­er apps like Tom­cat, where Java is ]
CLASSPATH = . [ to look for class file in cur­rent direc­to­ry ]
PATH = JAVA_HOME\bin [ to find tools like javac, java etc ]



Leave a Reply

%d bloggers like this: