首页 > 技术文章 > 多个JDK多个ECLIPSE环境配置

helloquan 2016-09-18 09:54 原文

由于工作原因现在电脑上安装了JDK1.6和JDK1.7,还安装了Eclipse Indigo和Eclipse Mars;

 

JAVA_HOME配置了JDK1.6,Eclipse Indigo启动没问题,但是Eclipse Mars启动时会报 "failed to load the jni share library"

 

解决:在Eclipse Mars目录下的eclipse.ini中的openFile下面增加对应的JDK1.7的路径

-vm
C:/Java/jdk1.7.0_79/bin/javaw.exe

推荐阅读