Creating a jar file to be run on any other machine

前端 未结 3 1688
日久生厌
日久生厌 2021-01-26 00:30

I have to create a jar file wherein i need to add external jar files in the classpath, properties files, in such away as to run it on any other machine.

3条回答
  •  忘了有多久
    2021-01-26 01:28

    You could either use manifest.mf to define external class path or use script that composes classpath and runs your application.

提交回复
热议问题