java项目打包成exe,并且自带jre?
大家讲道理
大家讲道理 2017-04-17 17:31:20
0
1
395

将java swing程序打包成exe要求如下:

1.能在没有安装jre的windows系统下运行;
2.打包结果只能包含一个exe文件

比较变态的需求,请大家赐教....

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all (1)
Peter_Zhu

You can do it with ordinary compression software. Make it self-extracting. Enter the JRE and your program jar package and run it immediately after self-extraction. However, it is a bit large to print out, the JRE alone is tens of megabytes.

Then I’ll give you two references

  • http://mushiqianmeng.blog.51cto.com/3970029/900576/

  • http://www.regexlab.com/zh/jar2exe/usage.htm

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!