---
title: "Eclipse3.5中安装maven插件出现“ the -vm option in eclipse.ini is pointing to a JDK”解决"
author: "easonfans"
date: "2010-03-17T12:25:13Z"
tags: []
categories: ["编程语言"]
slug: "eclipse3-5-maven-the-vm-option-in-eclipse-ini-is-pointing-to-a-jdk"
draft: false
lastmod: "2010-03-17T12:25:13Z"
id: 617918
url: "https://easonfans.iteye.com/blog/617918"
---

修改一下eclipse.ini

如下图所示，修改-vm变量，定位一下jdk的安装位置。

```
-vm 
D:/work/Java/jdk1.6.0_13/bin/javaw.exe
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-framework
plugins\org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
```

 相关链接：

[http://stackoverflow.com/questions/905611/how-do-i-set-eclipse-ini-vm-option](http://stackoverflow.com/questions/905611/how-do-i-set-eclipse-ini-vm-option)

[http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.user/tasks/running\_eclipse.htm](http://help.eclipse.org/help33/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Frunning_eclipse.htm)