2

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

--launcher.GTK_version
2

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]
X-AppInstall-Package=eclipse-platform
X-AppInstall-Popcon=1699
X-AppInstall-Section=main

Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=/home/Slavi/Development/eclipse/icon.xpm
Exec=/home/Slavi/Development/eclipse/eclipse
Terminal=false
Categories=Application;Development;IDE;Java;
X-AppInstall-Architectures=amd64,armel,armhf,i386,ia64,mips,mipsel,powerpc,sparc

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

2
Contributors
1
Reply
26
Views
2 Years
Discussion Span
Last Post by zinist
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.