是否可以将 Eclipse native 启动器与不基于 Equinox 的 Java 应用程序一起使用?例如,myapp.jar 中包含一个简单的 Swing 应用程序。
我想,如果可能的话,所有受支持的平台上的过程应该是相同的,并且应该对 native 启动器附带的 .ini 文件进行操作。
最佳答案
来自'about' tag for OSGi ..
OSGi is a specification for a Java component framework with enforced modularity. It provides a comprehensive model to build applications out of smaller, reusable parts. Though it works with any Java code, its advantages are best obtained by using its strong modularity.
顺便说一句:对于部署 Java 桌面应用程序,最好的选择通常是安装该应用程序。使用Java Web Start 。 JWS 可在 Windows、OS X 和 *nix 上运行。
关于java - 带有非 OSGi 应用程序的 Eclipse native 启动器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20776674/