开发者

how to re-order runtime classpath when running application using eclipse?

开发者 https://www.devze.com 2023-04-03 03:50 出处:网络
I\'m running a java application using eclipse, can I re-order runtime or class-path or exclude a jar from the class path?开发者_C百科 this jar is a part of other project that is indirectly referenced

I'm running a java application using eclipse, can I re-order runtime or class-path or exclude a jar from the class path?开发者_C百科 this jar is a part of other project that is indirectly referenced by the project I run.


You can modify the order of the project dependencies.

On the project, right-click -> Properties -> Java Build Path.

On the Order and Export tab you can select a dependency and then move it up or down.


  • Right-click on project-> Properties -> Build Path -> Order and Export for javac
  • Run -> Run configurations -> Classpath of project's main class for jre

  • 0

    精彩评论

    暂无评论...
    验证码 换一张
    取 消