您的位置:首页 > 编程语言 > Java开发

用exe4j软件打包java程序,运行exe文件,报错:please reinstall or define exe4j_java_home to point to an installed

2018-01-31 10:27 2707 查看
用exe4j软件打包java程序,运行exe文件,报错如下:

the jvm found at .\.\jre7 is damaged.please reinstall or define exe4j_java_home to point to an installed 32-bit jdk or jre

the jvm could not be started.the maximum heap size(-xmx) might be too large or an antivirus or firewall tool could block the execution.


解决办法:

需要重新定义EXE4J_JAVA_HOME的路径,指向一个32位的jdk或者jre,

我当时用的是64位jdk,所以运行报错!

32位的jdk可以通用,64位的就不行,所以打包基本都是32位的
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  exe4j
相关文章推荐