由于环境变量,Eclipse 无法打开 [英] Eclipse will not open due to environment variables

查看:34
本文介绍了由于环境变量,Eclipse 无法打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是重新启动了我的电脑,没有做任何改变.突然我无法打开Eclipse.相反,我收到此错误消息:

I just rebooted my computer without changing anything. Suddenly I can't open Eclipse. Instead, I get this error message:

┌──────────────────────────────────────────────────────────────────────┐
│ 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:                 │
│   C:UsersemiriDownloadseclipsejreinjavaw.exe                 │
│   javaw.exe in your current PATH                                     │
│                                                                      │
│                                                      ┌────────────┐  │
│                                                      │     OK     │  │
│                                                      └────────────┘  │
└──────────────────────────────────────────────────────────────────────┘

我看到我所有的环境变量都被删除了.javajavacmvn 等都不起作用.我现在该怎么办,如何解决这个问题?

And I see all my environment variables have been erased. java, javac, mvn, etc. don't work. What do I do now, and how do I fix this?

推荐答案

这是答案,抱歉.. 但您的解决方案不正确

Here is the answer, sorry .. but your solutions weren't correct

set PATH=C:Program FilesJavajre1.6.0_03in ;%PATH%

paxdiablo你是改写了错误还是得到了某种软件从图像中读取文本,如果你得到的是哪一个?

paxdiablo Did you rewrite the error or you got some kind of software reading text from image, if you got which one ?

这篇关于由于环境变量,Eclipse 无法打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆