File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
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: 36478
    
  16
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: 36478
    
  16
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://aspose.com/file-tools
 
subject: Very new to this, could use some help
 
Similar Threads
Error Handling Question
Lightweight vs. Heavyweight objects
Prototype:Creational Patterns
Namespace Scope
Math help