aspose file tools*
The moose likes Beginning Java and the fly likes Class Path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Class Path

Mohammad Naeem
Greenhorn

Joined: Jul 23, 2002
Posts: 3
Hi All,
Iam Facing problem i dont know how to set class path? and why we need class path.
plz solve my problem
keep the peace
cheers
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Mohammad,
I'm moving this question to the Java in General (Beginner) forum as the SCJP exam does not feature classpath-related problems.
Please check out Java.sun.com tooldocs: Setting the class path for detailed information about the classapth.


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
le taylom
Ranch Hand

Joined: Dec 01, 2000
Posts: 44
Hi,
take a look here:
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html
T
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9046
    
  10
I am Facing problem i dont know how to set class path? and why we need class path.

Depending on your operating system, in Win9x you set the classpath in the autoexec.bat file. In WinNT, Win2K you set it in "environment variables". In either case, you set it wherever you set your PATH.

You need a classpath to tell the JVM where to find your classes that you want it to execute.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9046
    
  10
closing. See duplicate here
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Class Path