This video explains how to set your PATH variable on Windows XP. This video explains how to set up the JDK, however, it also applies to anything else.
For Windows XP:
Go to the start menu. Right click on My Computer and select "Properties". Select the "Advanced" tab. Click the "Environment Variables" button. Find the "Path" entry and double click it. Append a semicolon to the end if it's not already done and simply append the location of your JDK's binary directory to the end. For example, if you're using JDK 6u21, you would add ";C:\Program Files\Java\jdk1.6.0_21\bin" to the end.
For Windows Vista and 7:
Go to the start menu. Right click on My Computer and select "Properties". Select the "Advanced System Settings" link. Click the "Environment Variables" button. Find the "Path" entry and double click it. Append a semicolon to the end if it's not already done and simply append the location of your JDK's binary directory to the end. For example, if you're using JDK 6u21, you would add ";C:\Program Files\Java\jdk1.6.0_21\bin" to the end.
For (most) Linux:
Use "export PATH=$PATH:/path/to/jdk/bin". The vast amounts of places your JDK could be located prevent a rock-solid path. Also, most of the time if you install JDK via a package manager, this is done for you automatically.
To compile your code, use the "javac" command.
What would the end of the Variable path be if i have JDK 7?
MrNicholas1998 3 weeks ago
straight forward and to the point, FUCk all the other tutorials, yours wins!
HagexZero 1 month ago
Hey have 1 doubt we use limited user account for students for java programming in our college is it possible to set path using limited account???
If not is there an alternate method to do this??? like a batch file exe file to set path automatically is it
deepug92 2 months ago
i have a problem saving a movie ive edited in windows movie maker it says some error thats not true, could the variables be offset? if so tell me what to put please
haloking890 4 months ago
Thanks this helped :D
JayisLikeaboss 4 months ago
I tried all of this, and it didn't work. (Windows XP) anymore tips?
PieFurLife 5 months ago
.. This has been extremely helpful. I salute you.
TheSigia 9 months ago
@baldmanwithBIGlegs What you said, whitout the all day and phyton part :P
swebuilder 1 year ago
dude, I have been trying to set my PATH variable for Python (on Windows) alll day... your simple video finally explained it to me, I was creating a new path instead of appending it. You have helped me out soo much. Thanks for uploading :)
baldmanwithBIGlegs 1 year ago