• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java build PATH and classpath  RSS feed

 
Ranch Hand
Posts: 162
1
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone

I think i am not 100% clear about these 2 terms although i manage to work with them. I am seeking for someone, who can explain me the meaning individually of the same in simple plain English without using th Jargons.

Query : What is JAVA Build Path ?

and How does it differs from CLASS PATH ?

 
lowercase baba
Bartender
Posts: 12565
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what a "CLASS PATH" is...however, there is something called a "CLASSPATH" (no space). Programming is very unforgiving. The details matter, so you should get in the habit of being precise when talking about it.

at a very high level:

The CLASSPATH is an environment variable you set on your computer. It is basically a list of directories. When the JVM runs, it needs to find your .class files. So, is uses that list of directories - it searches them to try to find the .class files needed.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!