This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting up the Command Prompt in Windows Vista.  RSS feed

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

I have Windows Vista, and I am trying to setup my Command Prompt to Compile and to practice programming. I downloaded 1.5 Java 2 Standard Edition SDK and it's J2SE API Documentation. I have started the setup by going to the Start/Settings, System, Environment Variables. Is this correct so far: Variable Name: JAVA_HOME PATH NAME: C:\java\sdk;1.5.0 then Click Enter?

How do I get to the PATH environment variable that points to the /bin directory inside the main Java directory?? Where the Java binaries (the tools are)?

Also, can the J2SE API documentation be attached to the 1.5 Java 2 SDK to view when programming? How is this done?


Thanks to all for helping!!

 
Kemal Sokolovic
Bartender
Posts: 825
5
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please SearchFirst, the question has been asked many times here. If you scroll down to the bottom of the page, you can see Similar Threads box which shows at least two discussions that might suit you (here and here). I'm sure there are several others too.
 
Campbell Ritchie
Marshal
Posts: 55707
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nikki Sumnie wrote: . . . Is this correct so far: Variable Name: JAVA_HOME PATH NAME: C:\java\sdk;1.5.0 then Click Enter? . . .
I don’t think so. No. It is not the command prompt you are setting up, but the environment variables. You must use a PATH somehow (there are several ways to set it) and you should probably not set a CLASSPATH. Start by looking at our FAQ.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!