1. 程式人生 > >Version 1.7.0_80 of the JVM is not suitable for this product.Version: 1.8 or greater is required.

Version 1.7.0_80 of the JVM is not suitable for this product.Version: 1.8 or greater is required.

2種 方法 mar 技術 bin 啟動 product 分享圖片 1.7

技術分享圖片

Eclipse啟動失敗,設置eclipse啟動jdk有2種方法

第一種:

直接安裝eclipse對應的jdk版本,並設置環境變量

第二種:

修改eclipse配置文件eclipse.ini

在-startup上面加入以下內容(根據自己JDK的安裝目錄)

-vm

E:\java-tools1\JDK8_64\jdk1.8.0\bin

-vm
E:\java-tools1\JDK8_64\jdk1.8.0\bin
-startup
plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.400.v20160518-1444
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m

  

Version 1.7.0_80 of the JVM is not suitable for this product.Version: 1.8 or greater is required.