打开我生成的exe文件的时候,报错。
No JVM could be found on your system.
Please define EXE4J_JAVA_HOME
to point to an installed 32-bit JDK or jre or download a JRE from www.java.com
确定是否已经安装了jre,没有安装可以去 http://www.skycn.com/soft/27213.html 下载安装
如果还是不可以,你需要手动设置一下JAVA_HOME环境变量,具体步骤如下:
1.我的电脑 右击 >> 选 属性 >> 高级 >>点 环境变量 按钮
2.在系统变量下面点击 新建 按钮,
变量名: JAVA_HOME
变量值: C:\Program Files\Java\jre6
变量值的具体值是你jre的安装路径,默认安装的一般就是C:\Program Files\Java\jre6我已经更改了变量,可是还是显示这样的错误。我已经安装过JRE.
那位高手能不能帮我看看了。
No JVM could be found on your system.
Please define EXE4J_JAVA_HOME
to point to an installed 32-bit JDK or jre or download a JRE from www.java.com
确定是否已经安装了jre,没有安装可以去 http://www.skycn.com/soft/27213.html 下载安装
如果还是不可以,你需要手动设置一下JAVA_HOME环境变量,具体步骤如下:
1.我的电脑 右击 >> 选 属性 >> 高级 >>点 环境变量 按钮
2.在系统变量下面点击 新建 按钮,
变量名: JAVA_HOME
变量值: C:\Program Files\Java\jre6
变量值的具体值是你jre的安装路径,默认安装的一般就是C:\Program Files\Java\jre6我已经更改了变量,可是还是显示这样的错误。我已经安装过JRE.
那位高手能不能帮我看看了。
http://blog.csdn.net/fog911811/article/details/6151700
可是我写的程序直接run在eclipse上运行是没有问题的。郁闷哦。
java.lang.ClassNotFoundException: interf1
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
是什么原因哦
everything is same as before,but i don't know where is the problem on this issue.
now that's ok.
but i still can't deal with this issue,when .exe file running, the screen will display : java.lang.ClassNotFoundException: interf1