CONAN ZONE

          你越掙扎我就越興奮

          BlogJava 首頁 新隨筆 聯系 聚合 管理
            0 Posts :: 282 Stories :: 0 Comments :: 0 Trackbacks
          jdk1.6.21在eclipse 3.6下存在沖突的問題,但說的不是很詳細,有人問到,那我就再說一下吧。這是這個官方就有說明的,在下載頁面很明顯的標出了,只是有的同學不是在官方下載的或者太粗心沒注意到。我們看官方是怎么說的。
            

                 The Eclipse 3.3 - 3.6 launchers for Windows had a problem with the Oracle/Sun Java VM version '1.6.0_21-b06'.

          UPDATE: Oracle/Sun have released a respin of their JDK/JRE to fix this, so the recommended resolution of this problem is to download and re-install version 1.6.0_21-b07' or higher from http://www.java.com (alternative link is http://java.sun.com/javase/downloads/index.jsp). Make sure you have b07 or higher by running java -version.

          Before the fix was released, there were three choices to work around this:

          1. switch back to '1.6.0_20' (as of July 19, 2010 it can still be downloaded here)
          2. Change the commandline for launching or add the following line after "-vmargs" to your Eclipse.ini file:
            -XX:MaxPermSize=256m
            (Detailed instructions/examples)
          3. For 32-bit Helios, download the fixed eclipse_1308.dll and place it into
            (eclipse_home)/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503

          The Java bug was closed for voting and comments at 6969236 on the Java BugParade because the change has been reverted; the related Eclipse bug report is open for voting and comments at bug 319514.
              已經說得很明白了,由于1.6.0_21-b06中部分包的名字被Oracle公司修改了,會造成原先的插件內存泄露,故官方也給出了三種解決方案。
          (1)把JDK的版本降級到 jdk 1.6.0_20。下載地址:here
          (2)修改Eclipse.ini文件里的設置,在-vmargs后添加或修改下面這句-XX:MaxPermSize=256m。
          (3)對于32位版本的Eclipse3.6,可以下載這個補丁。
          eclipse_1308.dll,并且放置到(eclipse_home)/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503。
          (4)升級jdk
          1.6.0_21-b06到1.6.0_21-b07或更高。

          posted on 2010-11-18 14:32 CONAN 閱讀(1117) 評論(0)  編輯  收藏 所屬分類: Eclipse
          主站蜘蛛池模板: 东丰县| 湖口县| 湘西| 彰武县| 图木舒克市| 涿州市| 盐津县| 凤城市| 景洪市| 武邑县| 五莲县| 肇庆市| 普洱| 渭南市| 凤山市| 扶余县| 东丰县| 沧州市| 卓资县| 永年县| 新巴尔虎右旗| 江北区| 澄城县| 金溪县| 九台市| 类乌齐县| 琼结县| 江都市| 大港区| 阳山县| 乌鲁木齐县| 大关县| 巨鹿县| 长葛市| 北川| 晋中市| 马鞍山市| 响水县| 庆云县| 怀集县| 中江县|