This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

PATH enviornment for javac

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I setup the PATH ENviornment to used the javac compiler in the command line. I have a windows vista home edition OS. I am beginning to read the Head First Java. First step is to have everything setup to start coding.
Thanks in advance to whom ever gives me any help.
 
Greenhorn
Posts: 13
MySQL Database PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure if it's the same in Vista, but in XP you would add the location of your JDK to your PATH like this:

Right click 'My Computer' > 'Properties' > 'Advanced' > 'Environment Variables':

In the lower window, you'll see a variable name PATH (not CLASSPATH). Highlight that variable, then click 'Edit'. Add the following line to the end of you PATH:

C:\Program Files\Java\jdk1.6.0_02\bin

(Note: this is just an example! Your file path to the \Java\jdk1.X.X_X\bin may be different depending on where you installed your Java JDK. If you just took the defaults, this will probably be the same.)
 
carlos moreno
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it thanks Tod Novak
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perfect. 5 Minutes to find an answer.

Thanks from me to, Tod Novak
 
yeah, but ... what would PIE do? Especially concerning this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!