Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting the JAVA_HOME and PATH environment variables.

 
Nikki Sumnie
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How do I set the JAVA_HOME and PATH environment variables after downloading 1.5 Java 2 Standard Edition SDK? My Command Prompt does not recognize the compiler? JAVAC

How do I get to the install directory in Windows Vista after it is downloaded? Is there anything else that needs to be done so the Command Prompt recognizes programs that I type in and save?
 
Greg Charles
Sheriff
Posts: 2985
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nikki,

Setting environment variables, including the path, is not a Java issue. It depends on your operating system. You say you're using Windows Vista (my condolences, by the way) so you can Google for "How to set environment variables on Windows Vista". Here's one site that looks pretty good: https://cwiki.apache.org/STONEHENGE/how-to-set-environment-variables.html

You're right that you will need to set the bin directory of the JDK into your path in order to run javac from the command line. Are you having trouble finding where it was installed? The easiest thing might be to search for javac.exe through your file explorer.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic