No JVM could be found on your system.Please define EXE4J_JAVA_HOME problem-solving methods

[Background]

As for a new development laptop, the operating system for the 64-bit Win7 (Home Basic), fortunately, the original development of the software under the Win7 to have installed properly, some can not run the compatibility settings but also through the solution, that is, 2G memory win7 bit Hold live! ! Not Chedan, and enter the topic! Take a look:

[Problem Description]

With DbVisualizer-6.0.7 tools to connect to DB2, the following screenshot tips:

No JVM could be found on your system.Please define EXE4J_JAVA_HOME No JVM could be found on your system.Please define EXE4J_JAVA_HOME problem-solving methods

[Analysis]

Packaged in the implementation of some of the exe4j sometimes generated exe jar will report the following error:

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

[Solutions]

Determine whether the installed jre, jre and if it is not installed, what you need to manually set the JAVA_HOME environment variable, follow these steps:

============================= =============== XP Solutions
1 Right-click My Computer>> select Properties>> Advanced>> Environment Variables button, point
2 In the System Variables click the New button below,
Variable Name: JAVA_HOME
Variable value: C: \ Program Files \ Java \ jre6
The specific value of the variable values ​​that you install the jre path is usually installed by default C: \ Program Files \ Java \ jre6

Now and then double-click the exe file generated exe4j can start up.

Solution ============================ =============== Win7

Similar solutions, and XP, as follows:

1 Right-click Computer>> select Properties>> Advanced System Settings>> Advanced>> Environment Variables button, point

2 In the System Variables click the New button below,
Variable Name: JAVA_HOME
Variable value: C: \ Program Files (x86) \ Java \ jre6
The specific value of the variable values ​​that you install the jre path is usually installed by default C: \ Program Files \ Java \ jre6

Now and then double-click the exe file generated exe4j can start up.

------------

THE END

分类:Database 时间:2011-09-09 人气:703
分享到:
blog comments powered by Disqus

相关文章

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.405 (s). 12 q(s)