I have built my project that has 5 JAR files including my project JAR file. I am unable to open the jar file of my project outside NetBeans. How can I run the jar file outside IDE and distribute to customers?
您可以使用以下内容创建Shell脚本(Linux / Mac)或批处理文件(Windows)以启动应用程序:
java -cp jar1.jar:jar2.jar:etc YourMainClassName
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.