Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Setting up Eclipse on Ubuntu
- ============================
- First, install the appropriate Java packages:
- sudo apt-get install sun-java6-bin sun-java6-fonts sun-java6-jre libmysql-java
- Run the following command:
- sudo update-java-alternatives -s java-6-sun
- Edit the /etc/jvm file and add this line to the top of the list:
- /usr/lib/jvm/java-6-sun
- Download the latest Eclipse PDT All-in-One package from the eclipse.org web
- site. Assuming you save the .tar.gz file to your desktop, enter the following
- commands (replacing the filename with the version you have):
- cd ~/Desktop
- sudo tar zxvf pdt-all-in-one-1.0-R20070917-linux-gtk.tar.gz /opt/
- sudo chown -R <user>:<group> /opt/eclipse
- sudo nano /usr/share/applications/eclipse.desktop
- Paste this in the eclipse.desktop file (be sure to remove indentation):
- [Desktop Entry]
- Name=Eclipse
- Comment=A General-Purpose IDE
- Exec=/opt/eclipse/eclipse
- Icon=/opt/eclipse/icon.xpm
- Terminal=false
- Type=Application
- Categories=Development;
Add Comment
Please, Sign In to add comment