• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

questions abt classpath,path

 
hem kumar
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why we need to set these classpath path in java? whats the difference between setting classpath and setting path in java... thank u.
 
Mark Van Tuyl
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
path tells the OS where to find executable files (such as java.exe, javac.exe, javap.exe and so forth).

classpath tells the JRE where to find the .class files that it is to execute.
 
hem kumar
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank u mark
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See if THIS is useful! Let me know if it's not clear and I can try to fix it up.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic