Java – build executables from different jars

I wrote a program that contains various Java libraries used in the program I used NetBeans to make the jar file of my program Now, if I use this jar anywhere else, I will have to include all jar libraries manually

Is there any way to use my program jar to build all dependent libraries to build one jar instead of so many jar files?

I know some programs can convert jar to exe, and they will do the same thing, but I want to convert the last file to jar format so that it can also run on Linux

thank you

Solution

Yes, you can Because you are using NetBeans, article may be helpful

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>