Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



Install Eclipse in ubuntu

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 07-11-2009
Member
 
Join Date: Oct 2009
Posts: 67
Install Eclipse in ubuntu

Hi
I have switched for windows to Ubuntu now. Ubuntu is a great operating system and I like its working. From last week I am using Ubuntu, I have not occurred with a single problem still. Seem that Linux based operating systems are powerful, I had heard it but I am experiencing it now. I do programming in java, I used eclipse IDE for it on windows. Eclipse is available for ubuntu, but I am not sure I can install it on ubuntu. So any help will be appreciated.
Reply With Quote
  #2  
Old 07-11-2009
Solomon's Avatar
Member
 
Join Date: May 2008
Posts: 4,056
Re: Install Eclipse in ubuntu

There are many ways to do this, but only one way is showed in the following concept.
Software you have to download
1) Latest JDK version from Sun.
2) Latest release of web tools from eclipse.
3) Latest apache tomcat binary.

Install packages
Sun's Java JDK
Install java-package to repackage the jdk as a .deb file. Make sure you have enabled the repositories.
Code:
sudo apt-get install fakeroot java-package
Once we are done with this we create the .deb jdk package.
Code:
fakeroot make-jpkg jdk-1_5_xxxx-linux-i586.bin
Then we install the new package
Code:
sudo dpkg -i sun-j2sdk1.5xxxx+updatexxx_i386.deb
Make java configuration
Code:
sudo update-alternatives --config java
Tomcat
Download and copy tomcat
Quote:
tar xzf apache-tomcat-5.5.15.tar.gz
sudo mv apache-tomcat-5.5.15 /opt/
cd /opt
sudo chown -R root:root apache-tomcat-5.5.15
sudo chmod -R +r apache-tomcat-5.5.15
sudo chmod +x `sudo find apache-tomcat-5.5.15 -type d`
sudo ln -s apache-tomcat-5.5.15 tomcat
Edit the users of tomcat
Code:
sudoedit /opt/tomcat/conf/tomcat-users.xml
Add an administration and your own
Code:
<user name="admin" password="admin" roles="manager,admin" />
<user name="yourname" password="blah" roles="manager,admin" />
Eclipse
Extract download and move eclipse to opt
Code:
tar xzf wtp-all-in-one-sdk-1.0-linux-gtk.tar.gz
sudo mv eclipse /opt/eclipse cd /opt sudo chown -R root:root eclipse
sudo chmod -R +r eclipse
sudo chmod +x `sudo find eclipse -type d`
Create an eclipse executable in your path
Code:
sudo touch /usr/bin/eclipse
sudo chmod 755 /usr/bin/eclipse
sudoedit /usr/bin/eclipse
With this contents
Code:
 #!/bin/sh
#export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"
export ECLIPSE_HOME="/opt/eclipse"
$ECLIPSE_HOME/eclipse $*
Create a gnome menu item
Code:
sudoedit /usr/share/applications/eclipse.desktop
With this contents
Code:
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse IDE
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true
Now you are set to do java programs with Eclipse
Reply With Quote
  #3  
Old 07-11-2009
Member
 
Join Date: Oct 2009
Posts: 67
Re: Install Eclipse in ubuntu

Thanks
This is what I was looking for. Now I can do my programming stuff on ubuntu using eclipse. I am very happy. Thanks once again
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Install Eclipse in ubuntu"
Thread Thread Starter Forum Replies Last Post
how to install c on ubuntu Mast Maula Operating Systems 5 03-01-2011 05:04 PM
I am not able to install anything in Ubuntu Tigerius Operating Systems 5 25-12-2010 06:09 AM
Install eclipse on Gentoo Linux Beverly Archer Windows Software 5 26-03-2010 02:50 PM
Install Eclipse for Java and Android blueprats Guides & Tutorials 4 10-03-2010 02:20 PM
How to install Eclipse plug-in Aashirya Software Development 4 21-02-2010 05:51 AM


All times are GMT +5.5. The time now is 12:40 AM.