The Eclipse PPA is dated and to install Juno for Ubuntu 12.04.1 manually kindly follow these steps
1. Select and download Eclipse Juno .tgz for your architecture from http://www.eclipse.org/downloads/
2. Open terminal windows (Ctrl + Alt + T) and type following command
$ cd ~/Downloads
$ tar zxvf eclipse-SDK-4.2.1-linux-gtk-x86_64.tar.gz
(Do not run this command as sudo or root)
$ sudo su
# mv eclipse /usr/lib/eclipse
# chown root:root /usr/lib/eclipse
# ln -s /usr/lib/eclipse/eclipse /usr/bin/eclipse
# exit
$ eclipse
this will start eclipse.
4. To add Juno update site, in Eclipse menu select 'Help' > 'Install New Software...'. Click on Add button and enter name as 'Juno' and location enter 'http://download.eclipse.org/releases/juno' and click on 'Ok' to save.
5. To add eclipse to Unity Launcher, open file editor and create eclipse.desktop file
$ sudo vi /usr/share/applications/eclipse.desktop
[Desktop Entry]
Type=Application
Name=Eclipse
Version=4.2.1
Comment=Eclipse Integrated Development Environment
Icon=/usr/lib/eclipse/icon.xpm
Exec=/usr/lib/eclipse/eclipse
Terminal=false
Categories=Development;IDE;
save the file and now go ahead and type eclipse in HUD and start eclipse.
1. Select and download Eclipse Juno .tgz for your architecture from http://www.eclipse.org/downloads/
2. Open terminal windows (Ctrl + Alt + T) and type following command
$ cd ~/Downloads
$ tar zxvf eclipse-SDK-4.2.1-linux-gtk-x86_64.tar.gz
(Do not run this command as sudo or root)
$ sudo su
# mv eclipse /usr/lib/eclipse
# chown root:root /usr/lib/eclipse
# ln -s /usr/lib/eclipse/eclipse /usr/bin/eclipse
# exit
$ eclipse
this will start eclipse.
4. To add Juno update site, in Eclipse menu select 'Help' > 'Install New Software...'. Click on Add button and enter name as 'Juno' and location enter 'http://download.eclipse.org/releases/juno' and click on 'Ok' to save.
5. To add eclipse to Unity Launcher, open file editor and create eclipse.desktop file
$ sudo vi /usr/share/applications/eclipse.desktop
[Desktop Entry]
Type=Application
Name=Eclipse
Version=4.2.1
Comment=Eclipse Integrated Development Environment
Icon=/usr/lib/eclipse/icon.xpm
Exec=/usr/lib/eclipse/eclipse
Terminal=false
Categories=Development;IDE;
save the file and now go ahead and type eclipse in HUD and start eclipse.