eclipse启动时报错: failed to load the JNI shared library
来源:互联网 发布:mac 图片处理 编辑:程序博客网 时间:2024/05/17 09:32
以前好像写过这个问题的解决办法,时间久了,记得不清楚了。在写一下吧。
周六因为要用maven打包的关系,所以修改了一下jdk的环境变量,导致了这个问题。
一、出现原因
jdk的位数和eclipse的位数不符。
解决这个问题的方法:
1.安装clipse要求的jdk版本(包括位数和版本),并配置环境变量。
2.也可以使用匹配jdk的eclipse
3.因为我的机子装有多个jdk,所以,可以在eclipse.ini中添加eclipse的启动配置。如下:
D:\baseSoft\Java\jdk1.7.0_80\bin\java.exe
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
D:\baseSoft\Java\jdk1.7.0_80\bin
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m
第一行:指定java.exe
第17/18行指定vm
阅读全文
0 0
- eclipse启动时报错: failed to load the JNI shared library
- Eclipse 启动时报 “Failed to load the JNI shared library” 的解决参考办法
- 启动 Eclipse时报“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- Eclipse启动时failed to load the jni shared library
- 启动eclipse时Failed to load the JNI shared library
- Eclipse启动出错:Failed to load the JNI shared library
- eclipse报错:Failed to load the JNI shared library
- Eclipse报错-->failed to load the jni shared library
- eclipse报错:Failed to load the JNI shared library
- Eclipse启动 报错[Failed to load the JNI shared library jvm.dll]
- 启动Eclipse的时候报错Failed to load the JNI shared library..
- 启动eclipse报错:Failed to load the JNI shared library
- 启动eclipse报错failed to load the JNI shared library
- Eclipse 启动报错之Failed to load the JNI shared library
- eclipse(优化五) eclipse启动时,报"failed to load the JNI shared library"的解决方案
- JAVA Eclipse 启动 Eclipse 弹出“Failed to load the JNI shared library jvm_dll”怎么办
- Eclipse无法打开“Failed To Load The JNI Shared Library”
- eclipse问题之【Failed to load the JNI shared library】
- 飞测历史分享,目录整理篇
- 每天一个Linux命令(41):ps命令
- Unity中的通用对象池
- Unity中的通用对象池
- JMeter 日志和错误信息
- eclipse启动时报错: failed to load the JNI shared library
- QuartZ和Spring整合
- Application.Exit()和this.close()主要有什么区别?
- 每天一个Linux命令(42):kill命令
- Balancing Act
- git commit出错
- 串口通讯数据处理
- Linux 控制进程
- JAVA实现DES加密