Guest User

Untitled

a guest
Feb 20th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. Setting up Eclipse on Ubuntu
  2. ============================
  3.  
  4. First, install the appropriate Java packages:
  5.  
  6. sudo apt-get install sun-java6-bin sun-java6-fonts sun-java6-jre libmysql-java
  7.  
  8. Run the following command:
  9.  
  10. sudo update-java-alternatives -s java-6-sun
  11.  
  12. Edit the /etc/jvm file and add this line to the top of the list:
  13.  
  14. /usr/lib/jvm/java-6-sun
  15.  
  16. Download the latest Eclipse PDT All-in-One package from the eclipse.org web
  17. site. Assuming you save the .tar.gz file to your desktop, enter the following
  18. commands (replacing the filename with the version you have):
  19.  
  20. cd ~/Desktop
  21. sudo tar zxvf pdt-all-in-one-1.0-R20070917-linux-gtk.tar.gz /opt/
  22. sudo chown -R <user>:<group> /opt/eclipse
  23. sudo nano /usr/share/applications/eclipse.desktop
  24.  
  25. Paste this in the eclipse.desktop file (be sure to remove indentation):
  26.  
  27. [Desktop Entry]
  28. Name=Eclipse
  29. Comment=A General-Purpose IDE
  30. Exec=/opt/eclipse/eclipse
  31. Icon=/opt/eclipse/icon.xpm
  32. Terminal=false
  33. Type=Application
  34. Categories=Development;
Add Comment
Please, Sign In to add comment