---
title: "eclipse.ini配置文件中指定jdk的路径"
author: "皇驴西太"
date: "2016-08-05T22:20:10Z"
tags: []
categories: ["开源软件"]
slug: "eclipse-ini-jdk"
draft: false
lastmod: "2016-08-05T22:20:10Z"
id: 2315870
url: "https://fulndon.iteye.com/blog/2315870"
---

<span style="color:red">-vm需要加到-vmargs前面</span>

```java

-startup
plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.400.v20160518-1444
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
-vm
D:/soft/java/jdk1.8.0_91/bin/javaw.exe
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8-Xms256m
-Xmx512m
-javaagent:lombok.jar

```