How to run eclipse on bash on Ubuntu on Windows?

Viewed 8924

I have eclipse installed on my windows machine, but I can't seem to use it with bash so I installed eclipse on the bash terminal by using "sudo apt-get install eclipse". It installed fine, but I can't figure out how to launch the eclipse GUI from the linux subsystem so I can use it like the windows version. I tried using Xming and exporting DISPLAY, but that didn't work. Any ideas?

2 Answers

IMHO you should not install eclipse by apt but simply get your desired eclipse product from from https://www.eclipse.org/downloads/packages , download and unzip it to your wanted location and just start eclipse.

Reasons:

  1. I do not know any Linux distribution containing a newer eclipse bundled, so you are always having older versions being slower and having less features
  2. You can update your eclipse installation directly inside eclipse Check for updates
  3. You can have multiple installations at same time
  4. If you want to get rid of a eclipse installation just remove the folder and you are done.

But of course you can also use bash directly in Windows with Eclipse. Please look at https://stackoverflow.com/a/62724163/2590615 or take a glimpse at You Tube Video about Bash Debugging with Bash Editor eclipse plugin on a Windows 10 machine

PS: I am the maintainer of the mentioned eclipse plugin

Related