This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes Eclipse on Linux????? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Eclipse on Linux?????" Watch "Eclipse on Linux?????" New topic
Author

Eclipse on Linux?????

Vaibhav Goel
Ranch Hand

Joined: Jul 05, 2007
Posts: 40
Hello friends,

Can anybody tell me, for which Linux version, Eclipse is a suitable choice?

I have developed web-apps in WSAD (IBM Websphere) in Windows XP, but want to switch over to Linux for development purposes.

Also tell me which Linux version is absolutely free with no trials? But that version must have support for Java IDE Eclipse and multimedia files (all types of audio and video formats).

I am new to Linux. I have heard that Netbeans is a suitable choice for most Linux versions like OpenSuse, Fedora etc.
I don't want to use Linux version Debian and Netbeans IDE for my requirement reasons.
An important thing is, I require it for desktop PC.

Regards,
Vaibhav Goel
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15959
    
  19

Eclipse is actually available as part of the core package set for some of the Red Hat/Fedora flavors of Linux, although I usually download the ZIP from eclipse.org and install that.

Unless I'm mistaken, Eclipse runs just fine on both Debian and Ubuntu, likewise the SuSe systems.

Except for Red Hat Enterprise and SLES, all of the preceeding are available for free, as is Eclipse itself. You should have a computer with about 2GB or RAM and a 2 GHz CPU for best results, especially if you're planning to debug web applications.

Because some multimedia formats are not open-source, some Linux distributions don't include support for them. The most famous example is MP3, which, although the Fraunhofer Institute has stated may be played without fear of prosecution on Linux, is still restricted on general principals. That isn't a practical concern, however, since it's easy to obtain and install multimedia support from external sources.


Customer surveys are for companies who didn't pay proper attention to begin with.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Eclipse runs fine on most Linux distributions, and it's easy to set up: just download the appropriate version for Linux (32-bit or 64-bit), unzip it with a command like this:

tar xfz eclipse-jee-ganymede-SR2-linux-gtk.tar.gz

and then run it by executing the "eclipse" executable in the extracted directory. Ofcourse you'll need to have Java installed first, and how you install Java on Linux depends on your distribution. On Ubuntu, it's done by a simple command:

sudo apt-get install sun-java6-jdk

Almost all Linux distributions are available for free.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
chaolan lee
Greenhorn

Joined: Oct 15, 2008
Posts: 5
I'm using slackware linux. Bascially eclipse is able to run on most popular distributions: opensuse, redhat, ubuntu

You cab download the linux version on eclipse at this link (32 bit linux, EE developer version)
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/ganymede/SR2/eclipse-jee-ganymede-SR2-linux-gtk.tar.gz

To start using eclipse, unzip the compress file:
tar -zxvf eclipse-jee-ganymede-SR2-linux-gtk.tar.gz

Then place the uncompress directory to any place you wan, for my case i place in /home/user

Then go to the eclipse directory in the /home/user
cd /home/user/eclipse
Run the eclipse using the command below:
./eclipse&
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Did you succeed in installing eclipse on your machine? Can you please post your experience here?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15959
    
  19

Who are you asking? I think all of us have. I've been running Eclipse on Linux for more years than I can remember.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Can you please guide me with some links or some good articles that help me do this. I actually want to have MyEclipse installed on my Ubuntu. I have purchased the MyEclipse license.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15959
    
  19

I hope MyEclipse came with installation instructions. That is, after all one of the things you expect to get when you pay for software.

However, it's simple to install Eclipse.

1. Make sure you have a [b]real[/l] jdk installed. That is, something from Sun or IBM or something like that. The gcj that comes with Linux isn't a complete Java implementations and it doesn't work very well for most advanced apps (such as Eclipse).

2. Set up a JAVA_HOME environment variable to point to the JDK. I usually define and export it in my ".bash_profile" script so that it's set up when I log in and gets propagated to my subsequent shell environments.

3. Unzip the Eclipse ZIPfile.

To run it, just execute the file named "eclipse" in the unzipped eclipse directory. You can also setup a GUI shortcut that does this.

That's really all there is to it. MyEclipse may have come with an install process, but the basic Eclipse that you download from the Eclipse.org mirrors is just that simple.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Well from the MyEclipse website, I just downloaded a version that is suitable for Linux environment. Does that mean that it would work under Ubuntu?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15959
    
  19

If it says "Linux", any distro should do, including Ubuntu. There's no distro-specific version of Eclipse.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Good and thanks for the information. I will try to do two things today, install jdk and then install MyEclipse and see my first java programs run. Hope I would succeed.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Eclipse on Linux?????
 
Similar Threads
Creating a J2EE Project using Eclipse Gallelio
apache vs tomcat
Eclipse Matisse Feature
Need exact IDE to developing a web application using JAVA
SCJP practice - Which Eclipse IDE to use?