Which Eclipse IDE version to choose? - java

How do I find which Eclipse version I have on my Ubuntu system?
This is what "About Eclipse SDK" says.
Eclipse SDK
Version: 3.5.2
Build id: M20100211-1343
I am not sure if its the Eclipse IDE for Java Developers or the Eclipse Classic version.
What I would like to do is use Eclipse for
Java based Web Application Development
Ant Builds
Deploy using Tomcat
including HTML, CSS Editing
Please help me decide which version I should choose? I would like to upgrade my Eclipse setup from whatever version it is now to a version that supports all the above. Should I go for Eclipse IDE for Java EE Developers?
Should I download a totally new version from Eclipse site or can I just ADD necessary features/plugins to my current Eclipse setup.
Please suggest.

See Compare Eclipse Packages for a nice chart

What I would like to do is use Eclipse for (...)
The Eclipse IDE for Java EE Developers allows to do what you're asking for out of the box.
Should I download a totally new version from Eclipse site or can I just ADD necessary features/plugins to my current Eclipse setup.
Both would work, although it would be simpler to just get directly the Eclipse IDE for Java EE Developers (especially if you don't know exactly what plugin(s) you're looking for). Personally, I don't use the version you can get from the repository but download Eclipse from the official website and install it in user mode.

If you are using Eclipse for only Enterprise Development, then as everybody has recommended I would use the Eclipse Java EE version. If you plan on occasionally using it for other development purposes then I would consider downloading a separate classic version as well.
The reason for this is that everybody is well aware of eclipse's plugin capabilities. Unfortunately, Eclipse can get bogged down with too many plugins or add on tools. What I have experienced is that if you are using it for Enterprise Development(J2EE) it might be a good idea to keep that as a separate environment then your other Java Development. That way you can download the plugins,tools,libraries,etc for your enterprise development, and you can use your classic version for any other development you might need.
The downside is you will have two versions, but this is not a problem granted you do not run them simultaneously.

If you want to play with Web development, then the Eclipse java EE for Developers is for you. It is shipped with components to make Java Enterprise applications to create Enterprise Applications (and bundle it in an Enterprise ARchiver, known as EAR file or Web ARchive, known as WAR file).

The default Eclipse shipping with Ubuntu is the Classic version, and you can add more plugins.
I would recommend, however, to download th eJEE version manually and unzip it and run. Then you have a local installation outside the system files.

Related

Should I Uninstall Eclipse, or Just Install a New Version on Top?

To preface, I am a student and have limited experience with IDEs. My situation is that I currently have two versions of Eclipse on my machine (OSX El Capitan), one being a C/C++ IDE (Mars) and the other is a Java IDE (Mars.2). I am interested in upgrading to Eclipse Neon for my Java IDE.
Would it be a good idea to uninstall my current Mars.2 version, or just install Neon on top of what I have?
Or, is there a another simple way to upgrade?
If the solution involves uninstalling my Mars.2 version, what files/directories do I need to delete so that my C++ IDE remains functional?
I apologize for the newbie question, but I wanted to get an expert's take that I can bring into my (hopeful) career.
Thanks.
No need to uninstall existed Eclipse since it's allowed to let multi eclipse run on the same machine.
If no big change has been made from original eclipse, I suggest just download a new version eclipse and unzip it to a different folder from existed eclipse folder based on instructions from FAQ How do I upgrade Eclipse IDE?
We strongly recommend against unzipping over your existing Eclipse
version as unexpected side effects may occur, including (but not
limited to): nausea, vomitting, shortness of breath, corrupt
installation.
You can then point the new Eclipse version to your existing workspace(s) and it will load with all your projects and preferences intact.
If your you have added many plugins and preferences to current Eclipse, please follow Easiest way to upgrade eclipse 3.7 to 4.2 (Juno) to migrate the plugins and preferences. Although that's a bit of a dicey process, since many plugins would be incompatible or need to be updated themselves. Better to just install whatever third-party plugins you use into the new Eclipse installation.

Not able to create Dynamic web project in Eclipse Luna

I have installed Eclipse Luna for windows 64 bit. But I am not able to create a new Dynamic Web Project. I also installed Web, XML, Java EE and OSGi Enterprise Development , but still it shows only Static Web Project inside Web projects.
Is there anything else to be installed ?
you need the Web Tools Platform package for this
add it to your eclipse through Help > install new software.
Then add the software repository site location for WTP for your version of eclipse.
http://download.eclipse.org/webtools/updates/
I think the accepted answer is not the recommended solution. In Luna you should install Web Tools Platform via the Luna download site, not the WTC download site.
Here are the instructions:
https://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F
Here is what happens if you use WTP site:
Can't install WTP (Web Tools Platform) in Eclipse - something about missing dependencies...?
Yes, I see that the asker says he has done this, so I guess the accepted answer worked for him, but I think people should try this recommended method first.
You need to go to http://download.eclipse.org/releases/indigo or luna or whatever version of eclipse you are using and select Web, XML, Java EE and OSGi Enterprise Development.

What makes eclipse for RCP different from eclipse classic?

I understand that I need RCP for eclipse plugin and eclipse RCP development. However, as I have some crashes, and software installation issues, I guess I have to use eclipse classic until the issues are solved.
What makes eclipse for RCP different from eclipse classic?
I checked eclipse download page, and to me it seems like that eclipse classic doesn't have any feature whereas RCP has a lot.
Are the features only difference between the two choices?
If so, can I download the features/plugins to use all the RCP features in eclipse classic without any problems?
All the downloads on the eclipse.org page are only predefined packages of generally available Eclipse plugins. So you can always install any plugin into any existing Eclipse installation (assuming no dependency conflicts). The package selection on the download site only determines what is pre-installed (and it is hard to disable the pre-installed features).
For RCP development you need the JDT and PDE features. Both the "classic" as well as "for RCP development" packages contain those, so it is still your choice.
If you really want a minimalistic Eclipse suited to your needs, then install the "Platform Runtime Binary" from http://download.eclipse.org/eclipse/downloads/drops4/R-4.2.1-201209141800/, which is an "empty" Eclipse. Afterwards install only your chosen plugins using the update manager.

Add Java support to Eclipse

I have downloaded and installed Eclipse for PHP Developers from here:
http://www.eclipse.org/downloads/
I also need to write some Java applications. How can I add Java support to my PHP Eclipse version? Do I have to install second Eclipse for Java?
You should be able to install the JAVA components, using Help > Install New Software.
In the list of components, there should be Programming Languages > Eclipse Java Development Tools.
Here's a screenshot :
(source: pascal-martin.fr)
Because it is so trivial to have multiple Eclipse instances, I do just that to seperate php and java environments. This reduces the plugins loaded and you can somewhat keep Eclipse lean. Of course the choice is totally yours.
On my version of eclipse:
Help menu->install new software
Choose the download page for your version of eclipse
There is a category "programming language" which should have Java.
What you downloaded was basically the eclipse core project and a list of standard "addon" packages that might help in PHP development. According tho this comparison chart you're only missing two packages to now make eclipse ready for java development:
GEF
JDT
You could just download those two packages from eclipse by going to
Help->Install new software
to have the standard "Eclipse for Java Development" setup.

Developing CLDC or J2ME applications under Mac OSX?

I have noticed that Oracle now has released a Java Platform Micro Edition SDK for OSX. It works, it can compile the provided examples and the included phone emulator works too. But how do I compile my own J2ME project from Ant or Eclipse?
There are a lot of related jars but they are all inside the ".app" in the /Applications directory. Eclipse does not like it when I put a toolchain path to inside the ".app".
Have you tried using the EclipseME plugin? It helps integrate JavaME (J2ME) development into Eclipse. Here's a guide for getting it working with Eclipse:
Eclipse ME / Configuration
You'll find plenty of documentation and how tos.
If you don't like EclipseME, I personally found Netbeans very good for mobile development:
Netbeans JavaME Page
Also, you weren't specific in your question, but the link you've provided seems to indicate you want to use MTJ. In that case, use this documentation to guide you through:
Eclipse MTJ - Getting Started
If you want to use ANT I have simply copied over the required jars from the Windows SDK and just used the pre verifier and javac from the osx 3.0 sdk, works well!

Categories

Resources