14

I am trying to create a standalone .exe file (or something equivalent) from a scala project I have started. I need to create this in such a way thet the person using the application has to do the least amount of work possible (double-click an installer or just the .exe file). What are my options?

4

4 回答 4

6

看看JProfiler 的创建者ej-technologies,他们有几个可能对您有用的产品,引用自他们的产品页面:

  • install4j一个跨平台 Java 安装程序,可为您的 Java 应用程序生成本机安装程序和应用程序启动器。

  • exe4j一个 Java exe 制造商,可帮助您将 Java 应用程序集成到 Windows 操作环境中。

这些都是商业产品,虽然我没有使用过它们,但我已经使用 JProfiler 很多年了。

于 2012-07-03T19:43:46.267 回答
5

看看一个 OneJar。这里还有一个 sbt 插件

于 2012-07-04T08:52:31.360 回答
2

我听说过这个:Lauch4j

根据网站:

可以在 Windows、Linux、Mac OS X 和 Solaris 上打包应用程序

于 2014-03-26T03:41:40.697 回答
1

SBT 的IzPack插件可能很有用。

甚至 scala 本身也使用它:他们使用 IzPack

于 2012-07-04T08:51:54.770 回答