开发者

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

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

    上一篇:

    下一篇:

    精彩评论

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

    最新问答

    问答排行榜