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

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 深圳市| 东丰县| 宣汉县| 柯坪县| 西吉县| 沂南县| 科技| 樟树市| 沽源县| 郎溪县| 宁陵县| 宣化县| 侯马市| 分宜县| 鲁山县| 西安市| 阿尔山市| 齐齐哈尔市| 资阳市| 安宁市| 靖边县| 清远市| 武城县| 竹溪县| 密山市| 安国市| 蓝田县| 五指山市| 宁陵县| 武强县| 石棉县| 姜堰市| 克拉玛依市| 赤城县| 乌恰县| 高淳县| 大足县| 新建县| 治多县| 抚远县| 民权县|