Go to Eclipse and download Download Eclipse C++ IDE
and Eclipse for Java SE
cd Downloads/ && ls
eclipse-cpp-oxygen-3a-linux-gtk-x86_64.tar.gz
eclipse-java-oxygen-3a-linux-gtk-x86_64.tar.gz
tar -xvzf eclipse-cpp-oxygen-3a-linux-gtk-x86_64.tar.gz
and rename it, mv eclipse eclipse-cpp-oxygen-3a
The same for eclipse-java package extract it and rename to eclipse-java-oxygen-3a
instead of just eclipse
tar -xvzf eclipse-java-oxygen-3a-linux-gtk-x86_64.tar.gz
and rename it, mv eclipse eclipse-java-oxygen-3a
sudo mv eclipse-cpp-oxygen-3a /usr/local/bin/eclipse-cpp-oxygen-3a
sudo mv eclipse-java-oxygen-3a /usr/local/bin/eclipse-java-oxygen-3a
and edit it using nano sudo nano /usr/share/applications/eclipse-cpp.desktop
Paste these edits and save the file
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Eclipse-C++
Icon=/usr/local/bin/eclipse-cpp-oxygen-3a/icon.xpm
Exec="/usr/local/bin/eclipse-cpp-oxygen-3a/eclipse"
Comment=Eclipse for c++
Categories=Development;
Terminal=false
StartupNotify=true
We should see eclipse-c++
icon launcher now
sudo nano /usr/share/applications/eclipse-java.desktop
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Eclipse-Java SE
Icon=/usr/local/bin/eclipse-java-oxygen-3a/icon.xpm
Exec="/usr/local/bin/eclipse-java-oxygen-3a/eclipse"
Comment=Eclipse for Java
Categories=Development;
Terminal=false
StartupNotify=true