jQuery in Action, 2nd edition
The moose likes Beginning Java and the fly likes Very new to this, could use some help Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Very new to this, could use some help" Watch "Very new to this, could use some help" New topic
Author

Very new to this, could use some help

carl carman
Greenhorn

Joined: Oct 04, 2009
Posts: 3
I am just starting with the head first java book and do not know how to establish the path in dos prompt. could someone help me.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32836
    
    4
Welcome to JavaRanch

Well done asking about PATH. If you don't have a CLASSPATH already set, you don't need a CLASSPATH. You very definitely do need a PATH however.
Here are the installation instructions for Windows.
Ignore anything about "optional" and look on this as compulsory In section 4 look where it says "set PATH permanently". The PATH entries are separated by ; semicolons and begin with the drive letter (usually C) and end with bin. The example they quote (C:\Program Files\Java\jdk1.6.0_<version>\bin) would appear as C:\Program Files\Java\jdk1.6.0_16\bin for the most recent update. This presumes you have allowed the Java installer to install Java in its default location.
Remember to open a new command prompt before the PATH becomes operational.
carl carman
Greenhorn

Joined: Oct 04, 2009
Posts: 3
Thanks for your help. This should do it.
-Carl
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32836
    
    4
You're welcome I presume it worked?No, you have not added "only necessary classes"; you have added the Java installation folder, which is unnecessary.
carl carman
Greenhorn

Joined: Oct 04, 2009
Posts: 3
It worked yes. Thanks
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Very new to this, could use some help
 
Similar Threads
Lightweight vs. Heavyweight objects
Math help
Namespace Scope
Error Handling Question
Prototype:Creational Patterns