开发者

Why can't I open my JAR outside NetBeans?

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?


You can create a shell script (Linux/Mac) or batch file (Windows) with something like this to start your application:

java -cp jar1.jar:jar2.jar:etc YourMainClassName
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜