Fixing Eclipse Luna and adding it to Applications on Kali Linux

Slavi 2 Tallied Votes 3K Views Share

Hello everyone!
As some of you may know, Eclipse Luna appears to be broken for users of Kali Linux. There is a simple fix for that

Assuming that you have installed Eclipse Luna

locate eclipse.ini

sudo nano eclipse.ini

add the following 2 lines before --launcher.appendVmargs


press ctrl + x then press y and finally press Enter
That should fix it and you should be able to run eclipse.

Now, next thing to do is we want to include Eclipse in Applications Menu for easier access or for dock users(like me on xfce) we can dock Eclipse.

sudo nano /usr/share/app-install/desktop/eclipse.desktop //if this file does not exist on your system, just make an empty file and copy the content

paste this inside and FIX Icon and Exec to match your path!

[Desktop Entry]

Comment=Eclipse Integrated Development Environment

press ctrl + x then press y and finally press Enter

next step is to copy this file to the applications location, and it will automatically pop up in the Applications Menu
sudo cp eclipse.desktop /usr/share/applications/

There you go, this process can be repeared with software such as Teamspeak 3 to add it to Applications Menu, though note that Icon and Exec have to be changed to match your desired application

zinist 0 Light Poster

Thanks for sharing this information

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.