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

sponsored links
[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
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

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

  • TOMCAT + APACHE + JDK + MYSQL

    Jdk1.6 + Tomcat6 + Apache2 + MySql5 installed (Windows version) Keywords: Jdk1.6 Tomcat6 Apache2 Mysql5 jk_mod.so Jdk1.6 + Tomcat6 + Apache2 + MySql5 installed (Windows version) Software download: 1, j2se jdk1.6 http://java.sun.com/javase/downloads/index.

  • Eclipse to run using the specified JVM m2eclipse plugin can not find tools.jar

    Used the m2eclipse plug-ins using struts2 when com.sun necessary to rely on the default-tools.jar, specifically because at the struts-annotations bag designated default-tools.jar <profile> <id> default-tools.jar </ id> <activatio ...

  • common event in js

    / / 1: onblur event occurs when the object loses focus function upperCase () ( var x = document.getElementById ( "fname"). value document.getElementById ( "fname"). value = x.toUpperCase () ) </ script> Enter your name: <input

  • eclipse Hibernate proposals

    Error: The 'Hibernate proposals' proposal computer from the' org.hibernate.eclipse.jdt.ui 'plug-in dod not complete normally. Unable to instantiate the extension. To Avoid this message, disable the 'org.hibernate.eclipse.jdt.ui ...

  • Workspace run under different Eclipse

    Now do live more and more often required to use eclipse in java and ruby & rails project conducted between the tangential shear from the past, because in the rails project used a coloring Aptana preferences, the results open the java project sour ...

  • jBPM Development Getting Started Guide

    Although the workflow is still immature stage of development, not even a recognized standard. But its application has already been launched in the Express, indicating the market's demand for job-flow framework are urgent and enormous. Backgrounds of o

  • EJB ant script to deploy template works

    <? xml version = "1.0" encoding = "UTF-8"?> <! - Name Project name basedir build.xml file directory -> <project name="HelloWorld" basedir="."> <! - Property variables -> <! - The sour ...

  • Process migration from tomcat to websphere changes

    Process migration from tomcat to websphere changes Because customers use the web application server software used by different what tomcat5, tomcat6, websphere5.1, websphere6.1, weblogic8, and so on, and the software used inconsistent standards, ibm's

  • What is the appfuse

    First, Appfuse brief introduction Matt Raible are Appfuse developed a guiding entry-level J2EE framework, how to integrate its popular Spring, Hibernate, ibatis, struts, Xdcolet, junit, etc. give the basic framework of the model, the latest version 1.7 is

  • In the servlet use Bean

    According to Sun's definition, JavaBean is a reusable software components. In fact JavaBean is a Java class, through the package into a property and methods of treatment of a function or a business object, referred to as bean. Because JavaBean is ...

blog comments powered by Disqus
Recent
Recent Entries
Tag Cloud
Random Entries