【问题标题】:64-bit JDK configuration in Eclipse JUNOEclipse JUNO 中的 64 位 JDK 配置
【发布时间】:2014-02-19 09:25:04
【问题描述】:

我的eclipse.ini 中缺少什么。我尝试了来自wiki.eclipse.org的参考

我的环境是

  • 64 位窗口 7
  • 64 位 JDK (C:\Program Files\Java\jdk1.6.0_23\bin\javaw.exe)
  • eclipse 版本=4.2.0

Eclipse JUNO

错误

Java was started but returned exit code=13
C:\Program Files\Java\jdk1.6.0_23\bin\javaw.exe
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms512m
-Xmx1024m
-XX:MaxPermSize=512M
-jar D:\java\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os win32
-ws win32
-arch x86
-showsplash D:\java\eclipse\\plugins\org.eclipse.platform_4.2.1.v201209141800\splash.bmp
-launcher D:\java\eclipse\eclipse.exe
-name Eclipse
--launcher.library D:\java\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813\eclipse_1503.dll
-startup D:\java\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 139c_80
-product org.eclipse.epp.package.jee.product
-vm C:\Program Files\Java\jdk1.6.0_23\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms512m
-Xmx1024m
-XX:MaxPermSize=512M
-jar D:\java\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar 

eclipse.ini

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize 
512m
--launcher.defaultAction 
openFile
-product 
org.eclipse.epp.package.jee.product
--launcher.defaultAction 
openFile
--launcher.XXMaxPermSize 
512M
-vm
C:\Program Files\Java\jdk1.6.0_23\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms512m
-Xmx1024m

【问题讨论】:

  • 看起来您正在运行 32 位 eclipse
  • @HithamS.AlQadheeb 是吗?我确定,我下载的是 64 位 IDE。基于错误,看起来像 32 位 IDE?
  • 检查launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86
  • 64位版本的eclipse有如下插件:plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130807-1835。请注意缺少 x86_64。您是否从 32 位版本的 eclipse 中复制了 eclipse.ini?
  • 我下载并安装了launchers-win32.win32.x86_64.3.8.1.zip 其中org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813。也不行。

标签: java eclipse


【解决方案1】:

你有 32 位 Juno 和 64 位 jdk,这是问题所在

【讨论】:

  • 不,我有 64 位 IDE,但我认为缺少 launcher.library 配置。
【解决方案2】:

您需要 64 位版本的所有组件。

  • 日食
  • JDK
  • 平台

【讨论】:

  • 不,您只需要匹配 32 位或 64 位版本的 Eclipse 和 JRE/JDK。平台可以是 64 位,Eclipse + JDK 可以是 32 位。参考:superuser.com/questions/246863/…
  • @Fredrik :我相信他正在尝试运行 64 位版本的 Eclipse,因此他需要匹配 64 位的所有 3 个东西。
  • 不,这不正确。他可以使用 64 位 Windows + 32 位 Eclipse + 32 位 JDK,这样就可以了。或 64 位 Windows + 64 位 Eclipse + 64 位 JDK。 JDK 和 Eclipse 必须匹配。理想的是全部使用 64 位,但这不是必需的。
  • @Fredrik 我不想参加一场争论的比赛,但您没有从 CycDemo cmets 中看到他希望运行 64 位 Eclipse,而对于“64 位 Eclipse”,他需要所有三个 64 位。
猜你喜欢
  • 2012-08-06
  • 1970-01-01
  • 2012-09-03
  • 1970-01-01
  • 2016-03-27
  • 1970-01-01
  • 1970-01-01
  • 2013-01-13
  • 1970-01-01
相关资源
最近更新 更多