Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2813

Error installing eclipse I am using Ubuntu on Windows 10

$
0
0

I am trying to install eclipse using the ubuntu console on Windows 10.I am using version 20.04.4 LTS (Focal Focus)

Now I have tried the command sudo apt install eclipseGetting the error package 'eclipse' has no installation candidate

So I decided to go another route I downloaded eclipse-inst-jre-linux64

Then ran the command ./eclipse-inst

and getting the log error

Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.swt.widgets.Display               at org.eclipse.oomph.setup.internal.installer.SetupInstallerPlugin$Implementation.start(SetupInstallerPlugin.java:133)               at org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:813)               at org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:1)               at java.base/java.security.AccessController.doPrivileged(Unknown Source)               at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:805)               ... 32 more

The problem is all the examples are for Ubuntu on Linux, and not Ubunto on windows via WSL.


Viewing all articles
Browse latest Browse all 2813


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>