eclipse启动异常

2025-05-24 00:01:25
推荐回答(3个)
回答1:

(查看过环境变量,发现正常。不是这个问题,最后在一个的论坛上发现有个人有如下的解答:

Incorrectly unzipped.
Believe it or not, about once a month, a user reports start-up failure: The user has unzipped Eclipse without selecting the use folder names option. Make sure that the result of unzipping is an install tree with an eclipse directory at its root. The Ark unzip utility in KDE is known to mangle Eclipse zips, so use a different unzip program to install there. The built-in unzip utility in Windows has also been known to have problems, particularly when installing into paths with relatively long names.

感觉应该是解压路径的问题,可能是解压的路径出现了中文或是路径长度过长的问题。于是把压缩包放在C盘本目录下解压。解药后发现运行正常。还真是这个问题,无语。感觉上是路径过长的问题可能性比较大。

所以,以后安装软件或是解压软件时,不要把放在太多层的目录下。)

我也遇到了相同问题,以上是我在网上找到的,我把安装路径都改成英文的又装了一次OK了~~

回答2:

删除工作目录下的.metadata然后再启动eclipse就行了。如果还不行,就重装Eclipse

在命令行到eclipse目录下使用 eclipse.exe -clean试一下

回答3:

配置环境变量,JAVA_HOME:jdk的路径,以及在path里添加%JAVA_HOME%\bin,具体环境变量的配置百度一下,很详细的,不在啰嗦,祝好运!