aspose file tools*
The moose likes Beginning Java and the fly likes classpath in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "classpath in java" Watch "classpath in java" New topic
Author

classpath in java

swati cha
Ranch Hand

Joined: Jul 04, 2006
Posts: 40
hi everyone

i need information about classpath,how can we create in command promt?
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Originally posted by swathi chava:
...i need information about classpath,how can we create in command promt?

Do you mean how to specify a classpath when compiling or running Java from the command line? Or do you mean how to set a system classpath using the command line? (If you mean setting a system classpath, please tell us what operating system you're running.)


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
swati cha
Ranch Hand

Joined: Jul 04, 2006
Posts: 40
i am using windows operating system ,i want to set the path and classpath to run the java program .
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Originally posted by swathi chava:
i am using windows operating system ,i want to set the path and classpath to run the java program .

But is using the command prompt a requirement?

To set the system PATH to run Java, see step 4 of Sun's installation instructions for Windows (Java 1.6).

I recommend that you do not set any system CLASSPATH.

Let us know if this solves your problem.
[ August 13, 2007: Message edited by: marc weber ]
swati cha
Ranch Hand

Joined: Jul 04, 2006
Posts: 40
thanks for your reply ,i need one more information regarding java software,from wher i have to download
Red Smith
Ranch Hand

Joined: Aug 05, 2007
Posts: 136
    
    1
Originally posted by swathi chava:
thanks for your reply ,i need one more information regarding java software,from wher i have to download


http://java.sun.com/javase/downloads/index.jsp
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: classpath in java