exe4j 程序在别的电脑报错Please reinstall or define EXE4J_JAVA_HOME to point to an installed 32-bit JDK or JRE

技术标签: java  exe  exe4j  

1.根据计算机环境 32位不用勾选,64则勾上 2.根据实际java版本填写 ,并把圈中选项勾上,别问为什么 3.重点解释: 这是添加程序的jre运行环境,exe4j默认是会去找环境变量/注册表的,(图中没有 被我删了),这也是为什么程序在我们本地能运行,因为java程序员都会配置环境变量,但是在生产环境,用户电脑不会去安装jdk,有时我们就会连同jre一起放在程序安装目录,添加这个目录的含义为:...

The JVM found at JAVA_HOME is damaged.Please reinstall or define EXE4J_JAVA_HOME to point to an inst

JAVA_HOME配置指向32JDK或者JRE。   原因EXE4J在打包JAR文件成EXE文件过程中,自动生成支持32JVM可执行文件。   解决方法:   1.如果你JVM64配置可执行EXE文件过程中需要配置生成64定要勾上下面的设置;这种情况般是因为电脑64系统,    所以安装64jre,打包EXE需要安装64EXE4J软件,打包生成

The JVM found at JAVA_HOME is damaged.Please reinstall or define EXE4J_JAVA_HOME to point to an inst

JAVA_HOME配置指向32JDK或者JRE。   原因EXE4J在打包JAR文件成EXE文件过程中,自动生成支持32JVM可执行文件。   解决方法:   1.如果你JVM64配置可执行EXE文件过程中需要配置生成64定要勾上下面的设置;这种情况般是因为电脑64系统,    所以安装64jre,打包EXE需要安装64EXE4J软件,打包生成

No JVM could be found on your system. Please define EXE4J_JAVA_HOME to point to an installed 64-bit

EXE4J_JAVA_HOME,那么你直接点加号选择Environment variable,如下图选项因为exe4j默认两个环境变量JAVA_HOMEJDK_HOME ,般按照我们环境配置...使用exe4j打包程序时候遇到问题 1、首先需要添加Jre环境变量。检查你环境变量有没有添加或者添加是否正确! 2、如果问题还没有解决说明exe4j建包过程中配置出现了问题

用exe4j打包jar,exe运行

1、打开exe4j软件。(没有的去网上下载安装,实在没有的话,会放个到博客里) 什么不用改 【next】下步。 2、选择【"JAR in EXE" mode...内即可 选择【Search sequence】 把jre路径填上(最好复制到你要保存exe路径,之后一起打包就可在无jre环境运行exe) 选择【Preferred VM】-->

springboot在Windows(无jre)下打包并运行exe

在同个父目录下。如果你移植到其他环境中,无法知道该windows环境是否存在jre。所以jar只能在与自己同一目录去寻找是否jre运行自己,那么这个工作exe4j完成。 第二步选择 "JAR in EXE" mode 第三步选择exe导出路径 第四步 第五步 这里只强调第6步,其实这告诉jar你运行时候如果没有java环境,那么你就找跟你同目录jre,并不是


智能推荐

Window10 运行 mvn报错:NB: JAVA_HOME should point to a JDK not a JRE 解决

windows 10 系统 运行mvn编译一个项目,报错如下: The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program NB: JAVA_HOME should point to a JDK not a JRE 网上找了好多...

(JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machi

  (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations: /opt/jdk-10.0.2/bin   二、错误原因  ...

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run STS

解决办法:   在STS根目录下找到STS.ini加入下面一句话              -vm             C:\Program Files\Java\jdk-10.0.2\bin(jdk的bin目录路径)     保存好之...

exe4j中,报错:This executable was created with an evaluation version of exe4j

运行exe4j工具打包好的.exe文件,报错:This executable was created with an evaluation version of exe4j 由于是新下载安装的exe4j工具,没有进行注册!所以导致报这个错! 在使用exe4j时,如果exe4j没有注册,在运行有exe4j转换的*.exe的可执行文件是会提示:"this executable was cre...

猜你喜欢

由于更换了java版本,Eclipse启动时报错:JRE or JDK must be available in order to run Eclipse

1、更新java版本后启动Eclipse报错 2、打开eclipse安装路径下的eclipse.ini文件,将以前的jvm启动路径更换为新的路径 3、我这里新路径为D:\Java\jdk1.8.0_261\bin,不过刚开始写成D:\Java\jdk1.8.0_261了所以报了个错,把bin加上之后就好了...

配置CXF环境出错ERROR: Set JAVA_HOME to the path where the JDK (6.0 or higher) is installed解决方式

环境变量里面没有 JAVA_HOME变量,找到你得jdk安装目录,创建环境变量添加进去就好了。我的jdk安装在C:\Program Files\Java\jdk1.8.0_05,环境变量这样配置。 最后在window+r 输入  wsdl2java -h出现正常  希望对大家有帮助...

使用exe4j打包jre

前言:在网上找了很多教程(在此鸣谢.具体是哪些搞忘了) 首先你得有个做好的程序简单就行!先在eclipse控制台运行一下试试,可以运行.好继续. 一: 导出选择JRE File 二:选择想导出的项目,但是不勾选classpath和project.并且选择想到导出的地址.点击完成 然后我们就能在目录下看见我们生成的文件,XXX.jar.Then 在当前文件下创建一个MANIFEST.MF(创建记事本...

JAVA_HOME should point to a JDK not a JRE

The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program NB: JAVA_HOME should point to a JDK not a JRE 只要出现上述问题 解决方法如下图所示: 正确maven环境如下所示...

一步解决JAVA_HOME should point to a JDK not a JRE

找了N多种方法解决此问题,其中有在mvn文件首行添加set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_121,改方法大多数人可行,但我这里依旧没有解决问题,然后突发奇想,直接在命令行中执行该命令: 哈哈,我可以放心睡大觉了!!!...

问答精选

Sql Query With Select and IF

here is my table description: Table Name : Orders Columns : ID, NO, Quantity, Base, Code First my query should check the value of Code, if value of Code is 'B' then OUTPUT VALUE should be Code+Base if...

EmberJS and web components: extend an existing HTML tag within an initializer (is it possible?)

Edit: this issue only seems to be in the .hbs rendering as this code does work when the extended web component is inserted in the top level index.html of the EmberJS project Edit 2: However, when I pu...

I can't find the error in my socket python program

I was following a socket tutorial and suddenly there was a bug in my code that I couldn't understand or find Can anyone help me find the bug? I referenced with the tutorial code and it doesn't work. T...

Datatables - fixedHeader with scrollX

I am trying to use Datatables with fixedheader (v3) as well as enable horizontal scrolling. Attached is the fiddle http://jsfiddle.net/xF8hZ/344/ . When scrolling the fixedheader width doesn't align w...

meego cannot play mp3 file

I tried to implement SoundEffect from QtMobilityKit in QML to play music file in Meego Harmattan. I found that it can only play .wav file. is there any possible way to play .mp3 file in meego? This on...

相关问题

相关文章

热门文章

推荐文章

相关标签

推荐问答