Hello. I've made some java app and I've used org.apache...httpclient etc etc. Then I've made other project (in netbeans. First project was also made in netbeans) and I couldn't find apache package. It was like it works only on that first project. And I've never downloaded apache library before.
How can I fix this?
You must've downloaded that library (a .jar) at least once otherwise your first project wouldn't have run. Check the settings for your first project; it mentions that jar somewhere; adjust the settings for your second project accordingly.
Originally Posted by Vizualni
Probably rather adding them into the classpath, you may added into only the first project. Otherwise how it could be possible to run the first project, but not the second. Check about it.
Thanks guys. That library was actually inside other library I've included in my first project. Thanks again :)
If you are using third party libraries in your projects, good practice is to keep them in a single folder and it's easy to add into the classpath.