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 ]

What do you think?

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s