Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 3994  / 3 Years ago, sun, may 16, 2021, 11:10:31

I downloaded Eclipse Juno package, and extracted it to /opt directory. For installing it, I followed the steps given in this site - Ubuntu Help under the User Installation section. I created the opt_eclipse.desktop file in /usr/share/applications/ directory. Here is the content of my desktop file:



[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=eclipse
Exec=eclipse42
Terminal=false
Categories=Development;IDE;Java;
StartupWMClass=Eclipse
X-Desktop-File-Install-Version=0.20


Then I installed the desktop file on Unity using the following command, as given in this post:



sudo desktop-file-install /usr/share/applications/opt_eclipse.desktop


Then I created the symbolic link using the below command:



sudo ln -s /opt/eclipse/eclipse /usr/local/bin/eclipse42


I also moved the icon to the pixmaps folder using the below command:



cp opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm


Now, when I go to Unity, I can find the Eclipse Icon. But, when I click it, nothing happens. It doesn't get started. I'm completely new to Ubuntu. Did I miss something out there?


More From » 12.04

 Answers
7

Did you also install the jdk, it is needed for eclipse.



Enter the full path to the start-script in the Desktop-file



Exec=/path/to/ecplipse/eclipse42



if the path is noch included in your $PATH-Variable, what normally should note be if you did not by yourself.


[#30749] Sunday, May 16, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
leddre

Total Points: 180
Total Questions: 113
Total Answers: 108

Location: France
Member since Thu, Oct 27, 2022
2 Years ago
;