如何在netbeans中创建jar文件 [英] how to create jar file in netbeans

查看:102
本文介绍了如何在netbeans中创建jar文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想像在eclipse中一样在netbeans中创建独立的jar文件.通常,人们建议清理并构建该项目,并创建一个jar文件.但是要运行这些jar文件.java文件,还需要代码.有没有办法创建无需Java代码即可独立运行的jar文件? 谢谢

I want to create independent jar files in netbeans like we can do in eclipse. Normally people suggest to clean and built the project and there is a jar file created. But to run these jar file the .java files, the codes are also required. Isn't there any way to create jar files which runs independently without requiring java codes? Thanks

推荐答案

  1. 在运行配置中设置主类
  2. 进行干净的构建
  3. 转到dist文件夹,您可以在其中找到可运行的jar

有关更多信息,请参见 Creating_an_Executable_Java_File_in_NetBeans

for further information refer this Creating_an_Executable_Java_File_in_NetBeans

这篇关于如何在netbeans中创建jar文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆