The solution for "Eclipse is running in a JRE, but a JDK is required"

          Open the eclipse folder and access the eclipse.ini file:
          Before changing it ,you will find it don’t have the -vm parameter,so 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 this:
           1 -startup
           2 plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
           3 –launcher.library
           4 plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813
           5 -product
           6 org.eclipse.epp.package.jee.product
           7 –launcher.defaultAction
           8 openFile
           9 –launcher.XXMaxPermSize
          10 256M
          11 -showsplash
          12 org.eclipse.platform
          13 –launcher.XXMaxPermSize
          14 256m
          15 –launcher.defaultAction
          16 openFile
          17 -vm
          18 C:\Program Files (x86)\Java\jdk1.6.0_17\bin\javaw.exe
          19 -vmargs
          20 -Dosgi.requiredJavaVersion=1.5
          21 -Dhelp.lucene.tokenizer=standard
          22 -Xms40m
          23 -Xmx512m

           

          Wish to be helpful to you!

          Enjoy it!

           

          posted on 2012-11-03 21:26 Alicus 閱讀(250) 評論(0)  編輯  收藏 所屬分類: Tools

          <2012年11月>
          28293031123
          45678910
          11121314151617
          18192021222324
          2526272829301
          2345678

          導航

          統計

          常用鏈接

          留言簿

          隨筆分類

          隨筆檔案

          文章分類

          相冊

          Organization

          Personal

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 九江县| 临泽县| 田阳县| 霍州市| 普陀区| 平潭县| 古田县| 大庆市| 甘德县| 许昌市| 桑日县| 嘉祥县| 周口市| 德令哈市| 濉溪县| 荣昌县| 屯门区| 凤庆县| 敦煌市| 蓬溪县| 安康市| 城市| 尚志市| 托克逊县| 清水河县| 五原县| 夏河县| 广宁县| 湖南省| 行唐县| 宝兴县| 滁州市| 桓仁| 璧山县| 宣武区| 桐梓县| 黑龙江省| 尉氏县| 色达县| 五台县| 如皋市|