云自無心水自閑

          天平山上白云泉,云自無心水自閑。何必奔沖山下去,更添波浪向人間!
          posts - 288, comments - 524, trackbacks - 0, articles - 6
            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

          一段時間沒有用筆記本上的Eclipse,今天給安裝了一個新的3.5版(Galileo)的Eclipse,結(jié)果發(fā)現(xiàn)啟動的時候,跳出一個對話框說是
          JVM terminated. Exit Code=-1.
          在網(wǎng)上找了一下,最后有效而且最簡單的方法是:
          刪除eclipse目錄下的eclipse.ini,然后Eclipse又能啟動工作了。
          原因應(yīng)該是Eclipse.ini文件里的啟動參數(shù)和我的筆記本不配合(個人猜測),刪除后,使用默認配置,啟動成功。




          評論

          # re: Eclipse 3.5 Galileo不能啟動問題的解決  回復(fù)  更多評論   

          2009-08-07 03:40 by Bond
          我剛開始也是出現(xiàn)一個警告,不能啟動,我把那個-Xmx512m改小點就可以了(我改的是400)。如果把eclipse.ini刪除的話可能會出現(xiàn)內(nèi)存溢出吧,eclipse會掛掉的(我很早的時候就刪過試了一下)不知博主出現(xiàn)這種情況了沒有。本人blogjava新用戶,呵呵,希望與博主交流。

          # re: Eclipse 3.5 Galileo不能啟動問題的解決  回復(fù)  更多評論   

          2009-08-08 08:55 by 云自無心水自閑
          @Bond
          是的,我的Eclipse現(xiàn)在不時的會突然退出了。
          謝謝你的提醒,我把內(nèi)存改小一點試試。

          # re: Eclipse 3.5 Galileo不能啟動問題的解決  回復(fù)  更多評論   

          2009-08-08 09:56 by 云自無心水自閑
          @Bond
          好像果然可以,謝謝.

          # re: Eclipse 3.5 Galileo不能啟動問題的解決[未登錄]  回復(fù)  更多評論   

          2009-08-19 04:06 by mxf
          Specifying the Java virtual machine

          Here is a typical Eclipse command line:

          eclipse -vm c:\jdk1.4.2\jre\bin\javaw

          Tip: It's generally a good idea to explicitly specify which Java VM to use when running Eclipse. This is achieved with the "-vm" command line argument as illustrated above. If you don't use "-vm", Eclipse will look on the O/S path. When you install other Java-based products, they may change your path and could result in a different Java VM being used when you next launch Eclipse.

          To create a Windows shortcut to an installed Eclipse:

          1. Navigate to eclipse.exe in Windows Explorer and use Create Shortcut on the content menu.
          2. Select the shortcut and edit its Properties. In the Target: field append the command line arguments.

          Opening this shortcut launches Eclipse. (You can drag the shortcut to the Windows Desktop if you want to keep it in easy reach.)

          # re: Eclipse 3.5 Galileo不能啟動問題的解決[未登錄]  回復(fù)  更多評論   

          2009-08-23 11:31 by Paul
          我也碰到eclipse3.5啟動失敗的情況,返回碼也是-1,后來檢查發(fā)現(xiàn),與360安全衛(wèi)士有關(guān)系,360安全衛(wèi)士似乎限制了每個應(yīng)用進程的內(nèi)存申請數(shù)量,jvm設(shè)置為1024會導致該錯誤,關(guān)閉360安全衛(wèi)士實時保護就ok了

          # re: Eclipse 3.5 Galileo不能啟動問題的解決  回復(fù)  更多評論   

          2009-08-24 15:01 by 云自無心水自閑
          @Paul
          我的機器上并沒有安裝安全衛(wèi)士360

          # re: Eclipse 3.5 Galileo不能啟動問題的解決[未登錄]  回復(fù)  更多評論   

          2009-09-13 09:45 by aaa
          就是360安全衛(wèi)士,謝謝。

          # re: Eclipse 3.5 Galileo不能啟動問題的解決  回復(fù)  更多評論   

          2010-02-03 00:06 by 庚陽
          Xms 最大454m 455就不行 呵呵

          # re: Eclipse 3.5 Galileo不能啟動問題的解決  回復(fù)  更多評論   

          2010-02-03 20:07 by usherlight
          @庚陽
          難道454是特別的數(shù)字嗎?
          主站蜘蛛池模板: 贵阳市| 河东区| 新兴县| 视频| 连城县| 梓潼县| 定兴县| 姚安县| 永昌县| 临城县| 运城市| 平泉县| 宁蒗| 维西| 施秉县| 黔江区| 佛冈县| 英德市| 津市市| 惠州市| 宜阳县| 吕梁市| 且末县| 百色市| 敖汉旗| 久治县| 从江县| 青冈县| 紫金县| 花莲县| 达州市| 阿勒泰市| 安岳县| 贵溪市| 平安县| 肃南| 阳高县| 全南县| 田阳县| 宜阳县| 鄄城县|