Look at the
1 Whether the SETTING of JAVA_HOME is correct, my computer -& GT; Property (right click) –& GT; Advanced system setup –& GT; Environmental variable –& GT; System variable, new JAVA_HOME=D:/ Java/JDK
Modify the Path = % % Path; %JAVA_HOME%\bin
Open the command line and type Java-Version to see the output, see the version of Java, and see if it’s 32-bit or 64-bit
1 Whether the SETTING of JAVA_HOME is correct, my computer -& GT; Property (right click) –& GT; Advanced system setup –& GT; Environmental variable –& GT; System variable, new JAVA_HOME=D:/ Java/JDK
Modify the Path = % % Path; %JAVA_HOME%\bin
Open the command line and type Java-Version to see the output, see the version of Java, and see if it’s 32-bit or 64-bit
$ java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
2 It is possible that Java and Eclipse are not compatible 32-bit and 64-bit, Java is 32-bit and Eclipse is 64-bit, or vice versa
The Eclipse.ini file in the Eclipse directory, marked in red as 64-bit Eclipse
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130521-0416
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms1024m
-Xmx1024m
Where can I view a version of an Eclipse product?A. Eclipseproduct file in the Eclipse directory, the version entry is the version of Eclipse
name=Eclipse Platform
id=org.eclipse.platform
version=4.3.0
div>
Read More:
- Solve the problem of failed to create the Java virtual machine when eclipse is opened
- Version 1.8.0_201 of the JVM is not suitable for this product. Version: 11 or greater is required.
- Eclipse specifies JDK version to start, and resolves version XXXX of the JVM is not suitable
- Aptana studio 3 installation
- Java was started but returned exit code = 13
- When Dbeaver starts on Mac, it reports an error: “fail to create java virtual machine”
- Problems encountered after Maven installation or upgrade: could not find or load main class org.codehaus.plexus .class…..
- Eclipse:An error has occurred. See error log for more details. java.lang.NullPointerException
- Error running Eclipse: failed to load the JNI shared library
- Android android.intent.category Purpose and use of. Launcher
- CMD input Java error could not create the Java virtual machine
- Failed to load the JNI shared library solution
- Mac compiles Doris with MVN and reports an error checkstyle
- Eclipse report error Error:opening registry key ‘Software/JavaSoft/JRE’
- Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign
- [Solved] Failed to resolve org.junit.platform:junit-platform-launcher:1.7.2
- Failed to resolve org.junit.platform:junit-platform-launcher:1.7.0
- Solve the problem of Python in Windows environment: Fatal error in launcher: Unable to create process using’”‘ in pip installation
- Giterror: error cloning remote repo ‘origin’ hudson.plugins.git .GitException
- Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.