Ich habe Eclipse aus offiziellen Ubuntu-Repositories ( sudo apt install eclipse
) neu installiert . Wenn ich es vom Launcher oder Terminal aus starte, startet es nicht und zeigt diese Fehlermassage an
An error has occurred. See the log file
und der Inhalt der Protokolldatei ist:
!SESSION Mon May 28 17:52:17 IRDT 2018 -----------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2018-05-28 17:52:18.099
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:626)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
$ dpkg --status eclipse
Package: eclipse
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 99
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: all
Version: 3.8.1-11
Depends: eclipse-jdt (>= 3.8.1-11), eclipse-pde (>= 3.8.1-11)
Description: Extensible Tool Platform and Java IDE
The Eclipse Platform is an open and extensible platform for anything and yet
nothing in particular. It provides a foundation for constructing and running
integrated software-development tools. The Eclipse Platform allows tool
builders to independently develop tools that integrate with other people's
tools so seamlessly you can't tell where one tool ends and another starts.
.
This package provides the whole Eclipse SDK that contains Eclipse Platform,
Java development tools and Plug-in Development Environment, including source
and both user and programmer documentation.
Original-Maintainer: Debian Orbital Alignment Team <pkg-java-maintainers@lists.alioth.debian.org>
Homepage: http://www.eclipse.org/
$ apt-cache policy eclipse
eclipse:
Installed: 3.8.1-11
Candidate: 3.8.1-11
Version table:
*** 3.8.1-11 500
500 http://ir.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
500 http://ir.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
100 /var/lib/dpkg/status
Es werden keine weiteren Fehler oder Warnungen angezeigt. Ich bin auf Xubuntu 18.04.
apt-cache policy eclipse
und enthält dpkg --status eclipse
? Vielen Dank.
which -a eclipse
und grep -iFe eclipse -R --include='*.desktop' /usr/share/applications /usr/local/share/applications ~/.local/share/applications
sowie den Inhalt von hinzufügen /usr/lib/eclipse/configuration/config.ini
?