|
Re: Build Path vs. CLASSPATH [message #1219551 is a reply to message #1219494] |
Wed, 04 December 2013 10:33  |
Eclipse User |
|
|
|
The build path only needs to include elements (classes, jars, etc) needed to build your project. The classpath used when launching your application may need to contain other elements in order to properly run. For example, you may have resource files that need to be loaded but aren't required at build time. You may also use frameworks that are accessed by interface and have different implementations. When building your project, your code only refers to interface classes. At runtime the framework may then load classes based on configuration files or other class path lookup techniques. In this case you might need to add additional entries to the classpath. The build path will likely be a subset of the classpath.
|
|
|
Powered by
FUDForum. Page generated in 0.03134 seconds