---
title: "启动Eclipse时出现 JVM terminated.Exit code=13的错误提示框的解决办法"
author: "464872333"
date: "2011-03-10T11:45:00Z"
tags: ["Eclipse", "JVM", "OSGI"]
categories: ["非技术"]
slug: "eclipse-jvm-terminated-exit-code-13"
draft: false
lastmod: "2011-03-10T11:45:00Z"
id: 951952
url: "https://464872333.iteye.com/blog/951952"
---

之前在使用Eclipse写代码的时候，一点击Eclipse快捷方式就弹出一个框，提示：“JVM terminated.Exit code=13的错误提示框”！
  上网查到的，都说是jre版本和Eclipse不匹配。后来经过一番折腾，终于找到解决办法了。
  首先，打开“eclipse.ini”这个文件，发现里面多了一行，有的也许是多行。 
   -startup
plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
--launcher.library
plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-startup
<span style="color:red">pluginsorg.eclipse.osgi_3.4.0.v20080605-1900.jar (此处是多的一行)</span>
-vmargs
-Xms40m
-Xmx512m
把红色的一行删除了，就能正常启动了。 :D