首页 > 系统服务 > 详细

Eclipse解决方案之"Eclipse is running in a JRE, but a JDK is required"

时间:2015-10-05 23:19:25      阅读:306      评论:0      收藏:0      [点我收藏+]
Open the eclipse folder and edit the eclipse.ini file:
 
Please check if the file has the -vm parameter, if not, then add it.
 
-vm
C:\Program Files\Java\jdk1.6.0_10\bin\javaw.exe
 
Note: It should be add before the -vmargs parameter.
 
See my eclipse.ini, just like the following:
-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
-product
org.eclipse.epp.package.jee.product
–launcher.defaultAction
openFile
–launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
256m
–launcher.defaultAction
openFile
-vm
C:\Program Files (x86)\Java\jdk1.6.0_17\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m

Please pay attention to the bold and red characters. 

I hope it will be helpful to you! Enjoy it!

Eclipse解决方案之"Eclipse is running in a JRE, but a JDK is required"

原文:http://www.cnblogs.com/meijl/p/4856383.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!