atfast download Eclipse for linux.
then extract and paste the eclipse folder in the home/Programs folder.
then type folowing code inside the terminal
sudo touch /usr/bin/eclipse
sudo chmod 755 /usr/bin/eclipse
sudo gedit /usr/bin/eclipse
===========copy and paste(sparkle=username)=================
#!/bin/bash
export ECLIPSE_HOME="/home/sparkle/Programs/eclipse"
$ECLIPSE_HOME/eclipse $*
===================================
sudo ln -s /usr/bin/eclipse /bin/eclipse
sudo gedit /usr/share/applications/eclipse.desktop
===========copy and paste(sparkle=username)=================
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse IDE
Exec=eclipse
Icon=/home/sparkle/Programs/eclipse/icon.xpm
Termina=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true
=========================================
then extract and paste the eclipse folder in the home/Programs folder.
then type folowing code inside the terminal
sudo touch /usr/bin/eclipse
sudo chmod 755 /usr/bin/eclipse
sudo gedit /usr/bin/eclipse
===========copy and paste(sparkle=username)=================
#!/bin/bash
export ECLIPSE_HOME="/home/sparkle/Programs/eclipse"
$ECLIPSE_HOME/eclipse $*
===================================
sudo ln -s /usr/bin/eclipse /bin/eclipse
sudo gedit /usr/share/applications/eclipse.desktop
===========copy and paste(sparkle=username)=================
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse IDE
Exec=eclipse
Icon=/home/sparkle/Programs/eclipse/icon.xpm
Termina=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true
=========================================
No comments:
Post a Comment