Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
What are PATH and other environment variables, and how can I set or use them?

Where do I put environment variables that I want set on boot (or login)?

In particular, I want to set JAVA_HOME and add %JAVA_HOME%/bin to the path.

share|improve this question

marked as duplicate by Nifle, Oliver Salzburg, Ƭᴇcʜιᴇ007, slhck, Diogo Jul 1 '12 at 22:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

To add, remove or edit Environment variables in Windows 7 follow these simple steps:

  1. Right click on the Computer icon on your Desktop and choose Properties option.

  2. In the System window click on Advanced system settings in the left pane as highlighted below

  3. In the System Properties window select Advanced tab and click on Environment Variables… button given at the bottom of the window as highlighted below

  4. In the Environment Variables window you will notice two columns User variables for a username and System variables.

You put them in User Variables if you want them to be set during login, and in System Variables if you want them to be available for all Users.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .