no java virtual machine was found after searching& Failed to load the JNI shared library
2014-03-09 11:18
573 查看
Eclipse打开出现“no java virtual machine was found...."
这个错误一般是环境变量设置错误导致在cmd里面输入java -version看有没有版本的提示?有的话说明你的JDK是对的,那么就是Eclipse的问题了。
否则你就要设置环境变量信息了:
依次点击:“我的电脑”-(右键)“属性”-“高级”-“环境变量”,弹出Windows的“环境变量”配置卡。
在“系统变量”栏下执行三项操作:
1新建“JAVA_HOME”,值:JDK所在的绝对路径(例如D:\Program Files\Java\jdk1.6.0_43)。
2新建“CLASSPATH”(如果已有,则直接编辑),值:.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar(若值中原来有内容,用分号与之隔开)。
2新建“PATH”(如果已有,则直接编辑),值:%JAVA_HOME%\bin\;%JAVA_HOME%\jre\bin;(若值中原来有内容,用分号与之隔开)。
Eclipse无法打开“Failed to load the JNI shared library”
这是因为64的操作系统安装了32位的JDK(或者是32位的eclipse)导致的,换成64位的即可!
相关文章推荐
- A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations: /usr/local/eclipse/
- Eclipse启动时报错:A Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No java virtual machine was found after searching the following locations:…
- no java virtual machine was found after searching the following locations
- 启动eclipse是报 no java virtual machine was found after searching the following location
- ubuntu linux下解决“no java virtual machine was found after searching the following locations:” 方法
- Java入门到精通——调错篇之Eclipse No Java virtual machine was found after searching the following locations
- Java入门到精通——调错篇之Eclipse No Java virtual machine was found after searching the following locations
- failed to load the jni shared library"/usr/local/java/jdk1.6.0_21/bin/../jre/lib/i386/client/libjvm.
- Java入门到精通——调错篇之Eclipse No Java virtual machine was found after searching the following locations
- Android---No Java virtual machine was found after searching the following locations
- no java virtual machine was found after searching the following locations
- ubuntu 下解决“no java virtual machine was found after searching the following locations:” 方法
- Ubuntu16.04 下解决“no java virtual machine was found after searching the following locations:” 方法
- 启动eclipse是报 no java virtual machine was found after searching the following location
- no java virtual machine was found after searching the following location
- JAVA Eclipse 启动 Eclipse 弹出“Failed to load the JNI shared library jvm_dll”怎么办
- Eclipse启动报错:Failed to load the JNI shared library " D:\java\jdk1.8.0\bin\..\jre\bin\server\jvm.dll
- 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