Eclipse提示No java virtual machine
程序员文章站
2022-04-17 12:13:30
...
当你启动eclipse时出现... No java virtual machine was found after searching the follwing locations:
d:javaeclipsejreinjavaw.exe 'javaw.exe' in your current path错误时,可尝试以下方法:
1、在Path中设置javaw.exe的路径,如:
C:/java/jdk1.6.0_10/bin/javaw.exe
2、也可修改eclipse.ini 文件,在最前面加上下面两行内容:
-vm
C:/java/jdk1.6.0_10/bin/javaw.exe
以上两种方法选择其一即可,基本可以解决问题。
推荐阅读
-
could not create the java virtual machine解决办法
-
解决Eclipse启动出错:Failed to create the Java Virtual Machine
-
荐 Java Virtual Machine-First part(●----●)
-
Java虚拟机(Java Virtual Machine)
-
eclipse中调试Java程序提示Cannot connect to VM socket closed
-
Eclipse 解决无法启动报错(两种方法):Failed to create the Java Virtual Machine
-
Eclipse 解决无法启动报错(两种方法):Failed to create the Java Virtual Machine
-
flash buider 4.6 Failed to create the java virtual machine 报错
-
flash buider 4.6 Failed to create the java virtual machine 报错
-
Tomcat配置过程中的问题:端口号被占用+Could not create java virtual machine+Startup.bat开始闪退