http://www.roseindia.net
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Please visit our lastest forum and start dicussing the topics
Difference between path and classpath

 
Post new topic   Reply to topic    http://www.roseindia.net Forum Index -> Java Interview Questions
View previous topic :: View next topic  
Author Message
Ramesh
Guest





PostPosted: Fri Mar 23, 2007 6:41 am    Post subject: Difference between path and classpath Reply with quote

Can any one tell me what is the difference between path and classpath.
Back to top
Deepak Kumar
Guest





PostPosted: Fri Mar 23, 2007 6:42 am    Post subject: Path is system wide variable Reply with quote

Path is system wide variable that tells where to find your commands.
Lets say u want to run 'dir' so exe(Windows) containing to this program should be in path.

While Classpath is Enviroment Variable that tells JVM or Java Tools where to find your classes.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    http://www.roseindia.net Forum Index -> Java Interview Questions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group