Setting the Environment Variables

Setting the Environment Variables

Setting the Environment Variables Note: These instructions are provided only as a general guideline. The steps you will use depend on the version of Windows that you have. If you have difficulty setting the Path variable, you should bring your computer in and get help from me or one of the TAs. Setting the Environment Variables • Why would you want to change the Environment Variables? – If you want to use the Java compiler with programs such as JGrasp. – If you want to run the Java compiler and appletviewer directly from the DOS command prompt. 1 • Note: You must have Administrator privileges on the computer you are using. • Here is the link to the instructions I followed on Oracle’s web site. Updating the PATH Environment Variable I did not follow the instructions exactly as worded on their web site so I’m going to show you the steps I used. • The version of Java 7 that I downloaded was jdk-7-windows-i586.exe • Using Computer I located the complete path to the Java bin folder: I right clicked in here and selected “Copy Address as Text” 2 • I have Windows 7. I opened Control Panel, chose System and Security, then clicked on System. Next, I clicked on Advanced System Settings. • In the Advanced System Settings window, I clicked Environment Variables. 3 • I wanted to change the Path variable so I scrolled down Then I highlighted the line that says Path. Then I clicked Edit. • Now is the time to be really, really careful. If you erase something that is in the Path variable already, your computer may not function properly. I clicked in the Variable Value textbox and pressed the end key to go to the end of what was already there. Then I typed a semicolon. Then I right-clicked and pasted the complete path semicolon Complete path to Java bin the the Java bin folder folder (copied early in Computer). Finally, I clicked OK. 4 • I clicked OK on the two other screens and then closed Control Panel. • Once you have set the Path variable, you can go on to the instructions for installing JGrasp. 5 .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    5 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us