Java Netbeans GUI 生成器制作可执行 jar

标签 java user-interface netbeans executable builder

因此,由于 Netbeans 生成的 jar 需要它也生成的 lib 文件夹,我该如何将 lib 文件夹添加到生成的 jar 并更改 list ,以便它在没有任何命令行使用的情况下启动?

最佳答案

..so that it launches without any command line usage?

如果它有 GUI,使用 Java Web Start 启动它.

JWS provides many appealing features including, but not limited to, splash screens, desktop integration1, file associations, automatic update (including lazy downloads and programmatic control of updates), partitioning of natives & other resource downloads by platform, architecture or Java version, configuration of run-time environment (minimum J2SE version, run-time options, RAM etc.), easy management of common resources using extensions..

  1. 桌面集成:受支持平台上的桌面快捷方式和菜单项 - 不再需要基于命令行启动!

参见 Enabling Java Web Start in the NetBeans IDE开始。

关于Java Netbeans GUI 生成器制作可执行 jar,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11026732/

相关文章:

java - 如何在Java中每小时创建日志文件

java - 基于EJB架构的应用程序的HTTP和UI层面是什么技术?

java - 我该如何修复此错误 : non supported SQL92?

java - 与函数同时运行的进度条(在另一个类中)

plugins - 推荐用于 NetBeans 的 Web 开发插件

java - Firebase SDK 9.0.0 纯 java 版本?

java - 从适配器类获取不同 Activity 中的 EditText 值

java - Android 中的线程 UI 更新

java - TLS 服务返回警报 :decrypt_error when renegotiating

Python Tkinter : How do I make my GUI responsive as long as a thread runs?