Setting the path class in java using the Eclipse IDE

I have an Eclipse project with an external folder containing many JAR files (legacy libraries). instead of adding all jars to Eclipse ("add external jar"), I would rather add a link to this external folder. In the "configure build bath" I add the "outer class folder". If I do this instead of adding a Jar, my program will no longer compile. Did I miss something along the way to use this option?

thanks

+6
java eclipse jar buildpath
source share
2 answers

you can create a new custom library,

On the page "Configuring assembly paths" → Add library → User library (in the list) → "User libraries" button (page side)

and create your library and (Add Jars buttons), turn on your specific banks.

Hope this helps you.

+6
source share

Try the following:

Project -> Properties -> Java Build Path -> Add Class Folder.

If this does not work, please indicate how your compilation failed, indicate the Eclipse error message , and I will know what to do with it.

+5
source share

All Articles