We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
几年前我用过 Excelsior。根据我的经验,它的作用就像罐头上所说的那样。我相信较新的版本不仅经过 Java 兼容认证(通过了 TCK),而且还提供比同等 JRE 更小的下载。
我不想在运行时进行任何动态编译(=更大的下载大小),因此有必要提前了解运行时使用的所有类。这类似于使用混淆器的问题 - 通过反射加载的类不会被静态分析发现。 IIRC 是编译器提供的一个工具,可将运行时加载的所有类写入文件,然后可用于定义编译为本机代码的类。我们制定了一个测试计划来执行应用程序的所有功能,以确保加载所有类。
我会推荐它吗?可能,这取决于您想要它的原因。我的用例是我希望避免用户必须下载 JRE。现在,大多数安装程序都能够自动/协助获取 JRE,我发现需求减少了,因此我们停止使用 Excelsior。
I've used Excelsior, a few years back. In my experience it does what it says on the tin. I believe the newer versions are not only certified as Java-compliant (passed the TCK) but also offer downloads that are smaller than the equivalent JRE.
I didn't want any dynamic compilation at runtime (= greater download size), so it was necessary to know in advance all the classes that were used at runtime. This is similar to the problem of using an obfuscator - classes loaded via reflection will not be discovered by static analysis. IIRC, a tool is provided with the compiler that writes to file all the classes loaded at runtime which can then be used to define the classes that are compiled into native code. We made a test plan that executes all features of the app to ensure all classes were loaded.
Would I recommend it? Possibly, it depends upon why you want it. My use case was that I wanted to avoid users having to download a JRE. Now that most installers come with the ability to automate/assist with obtaining a JRE, I see there is less of a need, so we stopped using Excelsior.
披露:我是 Excelsior LLC 的营销总监。
您为问题分配的标签表明您正在购买支持 Java 的安装程序。如果是这样,并且您不关心诸如下载大小, 防止反编译器< /strong>、启动时间等等,Excelsior JET(顺便说一句,这是我们产品的正确名称)绝对是大材小用。 我的文章中列出了许多免费和商业的替代方案将 Java 转换为 EXE,特别是有关 Java 启动器和包装器以及 Java 感知设置创作工具的部分。
Disclosure: I am the Director of Marketing for Excelsior LLC.
The tags you assigned to your question suggest that you are shopping for a Java-aware installer. If so, and you do not care about things like download size, protection from decompilers, startup time, etc., Excelsior JET (which is the correct name of our product btw) is definitely an overkill. Many alternatives, free and commercial, are listed in my article about converting Java to EXE, specifically in sections on Java launchers and wrappers and Java-aware setup authoring tools.
不确定 Excelsior 是什么,但如果您想要它的提前编译器,您可以使用 GCJ。但不要指望它“在不更改任何源代码的情况下加速您的应用程序”(请阅读:http:// /en.wikipedia.org/wiki/Gcj#Performance)
Not sure what Excelsior is but if its ahead-of-time compiler you want, you have GCJ. But dont expect it "to speed up your applications without any source code changes" (read: http://en.wikipedia.org/wiki/Gcj#Performance)