snapcrafters / eclipse

A community-maintained package to easily install Eclipse on Linux
MIT License
8 stars 11 forks source link

eclipse_eclipse.desktop file not working #27

Open guiNovais opened 4 years ago

guiNovais commented 4 years ago

I'm using a Ubuntu 20.04.

I have installed Eclipse IDE at Ubuntu Software, it did installed succesfully, but when I run the application, nothing happends (I have checked out the System Monitor, no eclipse nor java process were stared). Although, when i run the command eclipse at terminal, it does launch the application as expected.

I was able to find the .desktop file at var/lib/snapd/desktop/applications/eclipse_eclipse.desktop. So I copied it to ~/.local/share/applications and started modifying it, and tried everything to make the application launches, but nothing worked out. I can only launch it trowth the terminal.

awesome-manuel commented 4 years ago

I cannot reproduce the problem. Works as expected.

mamiksik commented 4 years ago

+1 I have the same problem on the latest Kubuntu.

mamiksik commented 4 years ago

I got it working by installing apt package default-jre, but that should not be necessary. So I guess there is a bug in the config somewhere also I am using ZSH.

Try reproducing the problem by uninstalling apt java packages. (In my case I used sdkman so in theory, I do not need them.)

mamiksik commented 4 years ago

I think these are linked https://github.com/snapcrafters/eclipse/issues/25