单击 eclipse.exe 时 Eclipse 未打开

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10297711/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 21:00:47  来源:igfitidea点击:

Eclipse is not opening when click on eclipse.exe

eclipse

提问by Shankar Agarwal

When i am trying to open eclipse exe file by double clicking, eclipse window is not opened. Previously it is working fine but today it is not opened? It will help full if any one gave quick fix .

当我试图通过双击打开 eclipse exe 文件时,eclipse 窗口没有打开。以前它工作正常,但今天它没有打开?如果有人提供快速修复,这将很有帮助。

回答by mliebelt

There could be numerous reasons for that. Try the following approach:

这可能有很多原因。尝试以下方法:

  • Try to find the workspace that eclipse normally uses when it starts. Depending on the operating system you are using, a location like c:\users\agarwal\workspaceis standard.
  • Find there a file .metadata\.log. This is a text file that should include some information about starting up, and the stack trace, if Java failed.
  • If you cannot find that, see if javaw.exeis on your path, so eclipse will find at least a JRE to start eclipse. If that is not definded, define the following variables:
    • JAVA_HOME: the path to the installation directory of your JDK
    • PATH: expand that by %JAVA_HOME%\bin
  • 尝试找到eclipse启动时通常使用的工作区。根据您使用的操作系统,类似的位置c:\users\agarwal\workspace是标准的。
  • 在那里找到一个文件.metadata\.log。这是一个文本文件,它应该包含一些关于启动的信息,以及堆栈跟踪(如果 Java 失败)。
  • 如果找不到,请查看是否javaw.exe在您的路径上,因此 eclipse 将至少找到一个 JRE 来启动 eclipse。如果未定义,请定义以下变量:
    • JAVA_HOME: JDK 安装目录的路径
    • PATH: 展开 %JAVA_HOME%\bin

回答by FMK

Possibly a hangup an it idles in the taskmanager?

可能是挂断了它在任务管理器中空闲?

Have you looked in the process tab for the "eclipse.exe" and, if its there, tried to kill it?

您是否查看了“eclipse.exe”的进程选项卡,如果存在,是否试图杀死它?

There was maybe a javaupdate which is the reason for not starting eclipse?

可能有一个 javaupdate 这是不启动 eclipse 的原因?