[Tut] How to set up environmental variables

Status
Not open for further replies.
Newbie Spellweaver
Joined
Feb 12, 2007
Messages
30
Reaction score
0
-----Short and sweet, I have been noticing alot of people asking why when they complie or run there servers, the get errors stating that they dont have JDK installed, or is not running. The goal of this post is to make it work :D!

-NOTE- This isn't for people that don't know what they are doing! i would advise to get help from some 1, like me or jangan, or bit blaster. MAKE SURE YOU DON'T MESS anything up! could cause some minor tech problems!

-Knowledge required: How to enter into your system,(if you dont know i will post :D!)

--Step One---
Start by clicking on start.
in the right collum, (dont go into program files!) RIGHT CLICK! on my computer. Hit Property's all the way at the bottom.
--Step Two---
Click on the ADVANCED tab.
look towards the bottom and click on the environmental variables.
--Step Three---
The first box you see, look for | CLASSPATH |
If you dont have it you must add it, To do so click on new, in the first box put in.....

CLASSPATH


the box beneath it put...

C:\Program Files\Java\Java\jdk1.6.0\bin\

If you have the CLASSPATH already then open it up and take out what ever u got in there now, and add this...

C:\Program Files\Java\Java\jdk1.6.0\bin\

From here hit ok, or save,

--Step Four---
In the bottom box, Look for PATH. If you dont have it you must add it, To do so click on new, in the first box put in.....


PATH

the box beneath it put...


C:Windows\System32\;"C:\Program Files\Java\jdk1.6.0\bin\";C:\Program Files\QuickTime\QTSystem\;C:\Program Files


From here hit ok, or save,

Also look for CLASSPATH in the bottom box and put in,


.;C:\Program Files\Java\Java\jdk1.6.0\bin\;C:\Program Files\Java\jre1.5.0_11\lib\ext\QTJava.zip



Then exit out, it may ask you to restart your compuet, or it may not. This should help your compliers and running servers problems.

All done by me, MONSTER !!!! aka Chevelle!
 
Re: [TUT] How to set up environmental variables

Thank you for your tutorial, however this only works with that version of java that you've used... this isn't a "true" tutorial to get this working.
 
Re: [TUT] How to set up environmental variables

um, sorry bit, but not to contradict you, if you have the latest version of java, it should automatically Fix its self according to your settings, i was told by java officials them selfs.
If you believe that this post is un unnecessary then by all means delete it.
 
Re: [TUT] How to set up environmental variables

Bit's Right, Most People Have A Differant JDK, So That Wouldn't Work.

But Nice Try Anyways, Good Tutorial :flag_schw
 
Status
Not open for further replies.
Back