File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes What are class path variable ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What are class path variable ?" Watch "What are class path variable ?" New topic

What are class path variable ?

omkar patkar
Ranch Hand

Joined: Aug 25, 2005
Posts: 231
Hi guys,
In many situations, i have seen, when i go through tutorials for java ... the mention of "CLASSPATH" variable ! I know that CLASSPATH variable has just got nothing to do "O N L Y" with java, i mean , i also need it for setting the path of my jdbc driver or after installation of jdk or other softwares ! ....But what is this variable for ? ... what it is its significance ? ... if i need to view or set some value to this variable how do i do it on command prompt (i use Windows Xp and jdk 1.5)? ... there is also a mention of "PATH" variable in conjuction with "CLASSPATH" variable ...whats this "PATH" variable for ?

I would be very greatfull if i get in depth information on this issue ....therefeore thanks in advance ! thanks !

Thanks and Regards
Omkar Patkar (SCJP 1.4)[url][/url] | [url][/url]
marc weber

Joined: Aug 31, 2004
Posts: 11343

See if this article helps.

"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
omkar patkar
Ranch Hand

Joined: Aug 25, 2005
Posts: 231
Thanks MArc...ya that link really gave me a lot of info ! Thanks
I agree. Here's the link:
subject: What are class path variable ?
It's not a secret anymore!