Setting the classpath in java using Eclipse IDE

后端 未结 2 1911
一整个雨季
一整个雨季 2020-12-06 18:56

I have an Eclipse project with an external folder containing a lot of JAR files (legacy libraries) . instead of adding all the jars in Eclipse (\"add external Jar\"), I woul

相关标签:
2条回答
  • 2020-12-06 19:35

    You can create new User library,

    On

    "Configure Build Paths" page -> Add Library -> User Library (on list) -> User Libraries Button (rigth side of page)
    

    and create your library and (add Jars buttons) include your specific Jars.

    I hope this can help you.

    0 讨论(0)
  • 2020-12-06 19:38

    Try this:

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

    If it doesnt work, please be specific in what way your compilation fails, specifically post the error messages Eclipse returns, and i will know what to do about it.

    0 讨论(0)
提交回复
热议问题