云自無心水自閑

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

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




          評論

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

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

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

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

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

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

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

          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不能啟動問題的解決[未登錄]  回復  更多評論   

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

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

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

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

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

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

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

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

          2010-02-03 20:07 by usherlight
          @庚陽
          難道454是特別的數字嗎?
          主站蜘蛛池模板: 琼结县| 兴国县| 区。| 达拉特旗| 仁布县| 应用必备| 平湖市| 会泽县| 乌拉特中旗| 九龙县| 新乐市| 阜城县| 东乌珠穆沁旗| 兴文县| 麟游县| 莎车县| 涿鹿县| 荃湾区| 巴马| 绥阳县| 宿松县| 红安县| 华安县| 昌黎县| 长垣县| 南汇区| 三都| 万载县| 温宿县| 内黄县| 云林县| 达尔| 台江县| 成武县| 康乐县| 齐齐哈尔市| 武乡县| 宁晋县| 双鸭山市| 辉县市| 永春县|