my dog learned polymorphism*
The moose likes Beginning Java and the fly likes setting classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "setting classpath" Watch "setting classpath" New topic

setting classpath

sonia jaswal
Ranch Hand

Joined: Jun 01, 2007
Posts: 42
can anybody please tell me the syntax for setting the classpath?
Balasubramanian Chandrasekaran
Ranch Hand

Joined: Nov 28, 2007
Posts: 215

Originally posted by sonia jaswal:
can anybody please tell me the syntax for setting the classpath?

Checkout this link
Setting Classpath
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 38033
You rarely need to set the classpath unless you use classes in .jar files in different folders, etc.
fred rosenberger
lowercase baba

Joined: Oct 02, 2003
Posts: 11161

it will also vary depending on your OS.

There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
I agree. Here's the link:
subject: setting classpath
Similar Threads
javac running slow
lots of compilation error ,somebody help me with this,
HFS page 171
mysql connector Class NotFound error
classpath length