2014-06-18 39 views
1

我有以下安裝了Java:JVM要求不相適應錯誤

Java 32 bit

Java 32 bit

Java 64 bit

enter image description here

我已經安裝在我的Windows 7 64 bit指向jdk1.8.0_05eclipse-standard-kepler-SR2-win32-x86_64

當試圖安裝IBM軟件包(IBM Rational Team Concert的客戶端)使用IBM安裝管理器,它提供了以下錯誤:

The JVM requirements of the package are incompatible with the JVM java version "1.8.0_05" used by the existing Eclipse IDE

這是我eclipse.ini

-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.v20140116-2212 
-product 
org.eclipse.epp.package.standard.product 
--launcher.defaultAction 
openFile 
--launcher.XXMaxPermSize 
256M 
-showsplash 
org.eclipse.platform 
--launcher.XXMaxPermSize 
256m 
--launcher.defaultAction 
openFile 
--launcher.appendVmargs 
-vm 
C:\Program Files\Java\jdk1.8.0_05\bin 
-vmargs 
-Dosgi.requiredJavaVersion=1.6 
-Xms40m 
-Xmx512m 

什麼東西我錯了?

+0

你能分享這個錯誤嗎? –

+0

編輯我的帖子! – Rendy

回答

2

RTC Eclipse client requirement page提到Eclipse 3.6.x和4.2.x(Juno)作爲兼容的Eclipse客戶端。
Kepler(Eclipse 4.3.x)僅適用於RTC 5.x。

(注:訪問jazz.net維基需要jazz.net帳戶:你必須創建一個,它是免費的)

話雖這麼說,與最新的RTC 4.x中,你可以試試process described in this thread可能連工作朱諾(4.3):

  • Download an Eclipse release from http://www.eclipse.org/downloads/packages/release/juno/sr2
  • Extract the Eclipse release to c:\tools\eclipse
  • Extend Eclipse by adding a remote update site with the RTC p2repo from ...\RTC\4.x\RTC-Client-p2Repo-4.x.zip
  • When Eclipse has restarted shift to the Jazz Admin perspective

的RTC-Client-p2Repo-4.x.zip文件可在RTC 「所有下載」 頁面,例如像:

https://jazz.net/downloads/rational-team-concert/releases/4.0.6?p=allDownloads

+0

謝謝VonC!我會在家嘗試一下。 – Rendy

1

您可以編輯eclipse.ini文件就像下面的Java 1.8

openFile 
--launcher.appendVmargs 
-vmargs 
-Dosgi.requiredJavaVersion=1.6 
-Xms40m 
-Xmx512m 
+0

是的,我的是和你一樣的..請看我編輯的帖子.. – Rendy

0

安裝並不重要,多爲Java編譯器環境路徑的位置。

嘗試做一個乾淨的安裝並堅持到32位安裝。我在安裝64位JDK時遇到了問題。

+0

哪一個,我需要有一個乾淨的安裝?無論如何,我的環境路徑應該指向哪個Java? JDK/JRE? 32位? – Rendy

+0

我總是建議使用32位的java。但是在這裏你有一個64位的Eclipse,所以你可能想用64位版本。 我建議通過試錯法找到正確的一個: 32位:C:\ Program Files(x86)\ Java \ jdk1.8.0_05 \ bin 64位:C:\ Program Files \ Java \ jdk1 .8.0_05 \ bin –

+0

您的eclipse.ini文件顯示您當前正在使用64位Java編譯器。適當地更改環境PATH以匹配。 詳細信息:[擴展Eclipse失敗,Java VM未找到錯誤消息,IBM](http://www-01.ibm.com/support/docview.wss?uid=swg21319892) –