read

Just change “/home/daniel/eclipse” with the path where you have your eclipse folder

<pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"> sudo gedit /usr/bin/eclipse

#!/bin/sh
export ECLIPSE_HOME="/home/daniel/eclipse"
$ECLIPSE_HOME/eclipse $*

sudo chmod 755 /usr/bin/eclipse
sudo chmod -R +r /home/daniel/eclipse

sudo gedit /usr/share/applications/eclipse.desktop

[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Java IDE
Exec=/home/daniel/eclipse/eclipse
Icon=/home/daniel/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true
</pre>
Source

Blog Logo

Daniel Gomez Rico


Published

Image

MakinGIANTS

The findings and tips records of an Android-iOS-TheWholeShabang group

Back to Overview