Eclipse IDE for (Java and reports, PHP and Android) - java

There are different version of eclipse for different development environment.
My question is IF IDE remains same then why different versions, and if someone want to use all supported environments in single IDE how he/she can achieve that.
I want to use eclipse as single IDE for PHP, Java & Reports and Android development, instead of using different installation of eclipse.
Somebody helps me or refer me some link, it's quite confusing!

All the versions of Eclipse on the main site download page are the same version of Eclipse, but packaged with different sets of plugins. You can always install more features in Eclipse by installing more plugins.
You can have a single installation of Eclipse and use it for all your development needs - depending on your tastes however, it may sometimes be more manageable to have separate installations of Eclipse for different tasks (when there are a lot of plugins, Eclipse can take noticeably more time to start.)

There ARE different versions of Eclipse out there. But if we stick to one version and look at why there are different variants to download it's basically just that they come prepackaged with a specific component. So if you would like to use your Eclipse for C++ development you can get going with on single download. Instead of downloading the main IDE and then adding the module to support C++.
But after you install Eclipse, with any prepackaged modules, it's easy to add new ones. Say you have Zend Studio which is a PHP IDE based on Eclipse. You can still add all other modules supported by the version of Eclipse that Zend Studio is based on. For instance the Android SDK kit for Android development. You can add most modules by doing a search for them and finding the url to it's update site. Then click Help->Install New Software. Then you click Add and add the URL of the Update site of the module you wish to install.
Then you can select it from the Work with drop-down and it should appear in the list. Select it and click Next.
That way you can install almost all available modules for Eclipse. Note that sometimes you can run in to compatibility issues between installed modules and dependency problems. But most of the time it works fine.

They are not different versions, just the same backend with plugins for the particular language. Just that the specific versions are configured for best use with the language specified. If you want to use more languages than the default one in the eclipse you downloaded, just download the plugins you require and install in your installation of eclipse

Eclipse is plugin based IDE and these plugins may not like each other sometimes. It will be better to use more installations. In fact if you are developing Java and PHP you will need only 2 of them.
STS is a good Java toolkit especially if you work with spring.
If you new to Eclipse you should know that it can go crazy couple of times per month if you install too much and it is very annoying to see that one day your webapp is deploying and second day no...
Keeping installation separated you will have better control.

Related

Impact of Eclipse version on Code version

Does the version of Eclipse affect the version of code? Suppose, developers are using different version of Eclipse for same version of code with same version of JDK. Will it cause any issue?
No, the version of Eclipse does not matter.
Eclipse has extensive configuration for exactly which version of Java you are targeting. For example see the 'Java > Compiler' settings in the Preferences, and the 'Compiler Settings' in the Properties for a Java project.
You can also tell Eclipse which JRE/JDKs you have installed (see the 'Java > Installed JREs' page in the Preferences). You can run your code using any of these JREs, this is completely separate from the version of Java you are using the run Eclipse itself.
You do need to run a version of Eclipse which understands the version of Java you want to use. So for Java 13 you need to use at lease Eclipse 2019-12.
Of course newer versions of Eclipse contain more tools for helping with Java development and more bug fixes so using an up to date version is recommeneded.
Eclipse is simply an IDE (Integrated development environment). It combines debugging, compiling and other convenient tools for development. on the other hand, the Java code itself is separate, and you don't necessarily need eclipse to write the code. In fact, a simple text editor is enough. All you need is a file with a java extension (Example: hello.java).
It depends on what users share. I'm assuming you're using some sort of SCM, in which case the same project (fully shared) on different versions of the IDE can possibly lead to annoying situations.
There would be no issues in general, as far as producing the code is concerned, except in situations where some versions of IDEs don't support the required Java version (or other features). But I see this more as the user being affected rather than the project/code.
Here's what you should keep in mind:
Keep IDE project configuration files (such as .project, .settings, .classpath) ignored by your SCM system
All Java configuration should be based on a build tool. Use Maven/Gradle, etc, and any modern IDE will be able to create a project from its config file. The IDE would derive local configuration files which should not be sent back to shared repositories
This way, all developers are free to use whatever IDE (and whatever version) without causing interference, and CI tools will work off build tools' configuration as well.

Which Eclipse package to install for Java/Python?

I want to download/install an Eclipse IDE for Java/Python, but the Eclipse website doesn't indicate which package is suitable for PyDev. Which one should I download/install?
Also, if I need to do Javascript, CSS, HTML or PHP programming, will I need to download/install separate Eclipse IDEs?
Here are the different packages:
Eclipse Packages Website
On the packages page there's a link (easily overlooked, unfortunately) labeled Compare & Combine Packages. That page basically answers your question:
These packages are provided as a convenience to users; they represent common configurations of Eclipse projects that are often used together. However, since Eclipse is, at its core, an expandable platform, you can easily add other features and plugins to any of these packages. Just choose and install the package that most closely meets your needs, then follow these instructions to add features that you need.
This answer is not meant to point a specific offsite resource, but the principle that comes to play here: using eclipse plugins to add a support for a specific language/feature!
First of all, there is no predefined eclipse build for python.
You can simply install the "Java developer" one and then manually add python support via the eclipse marketplace, for example by installing the pydev plugin.
You can go ahead with Eclipse IDE for Java EE Developers.
Once it is installed you can go to Help->Install New Software and can install all other plugins as per your requirements.
For example to install Python use the following Link.

When update eclipse, it turns to another version

I was using eclipse IDE for java Developers, then a notification for update comes through, I've accepted it, everything is ok, restart needed, ok.
after opening, I've shocked that it became IDE for Web Developers, and all my projects became full of errors, and can't make a new java project.
I can't just download another version of eclipse for java ee, because I have a lot of plugins installed, and many configurations made.
How I can return back to the previous version?
Any suggestions please
You should be able to download and install the older version of Eclipse again:
Don't try to reinstall on top of your existing installation. Move or copy the existing Eclipse installation directory somewhere else before you start.
I would also advise making a backup of your workspaces before you do anything else. It is unlikely that the upgrade / downgrade will do any damage, but you can't be too cautious.
The errors that you are seeing are likely to be due to a simple Eclipse configuration problem, or maybe a problem with versions of third-party plugins. If you told us what the errors were, someone would be able to tell you how to fix them. Then you can use the newer version of Eclipse.
I can't just download another version of eclipse for java ee, because I have a lot of plugins installed, and many configurations made.
Actually, neither of those things prevent you from doing that. Downloading and reinstalling will be inconvenient ... but it is probably your best option.
Note that you could either download and install the new version of Eclipse, or you could download and install the version you were using previously.
I think it's no matter. I suggest to you use Spring Tool Suite based on Eclipse 3.**; You don't have to deal.

NetBeans IDE 8.0.2 Support for Netbeans IDE 7

I am starting a computer science class and need to download Netbeans IDE on my Mac 10.6.8. The latest Netbeans edition compatible with my Mac is NetBeans 7. However, in my class, we use NetBeans IDE 8.0.2
Am I able to transfer projects between both versions (via thumb drive) and edit them on both versions of Netbeans?
Thanks for the Help!
You can try it, but I have had trouble in the past with some custom Ant extensions Netbeans uses breaking when you try to use an older version of Netbeans than the one the project was created with. The other way seems to be less problematic. I have almost always been able to open projects created with an older version of Netbeans with a newer one.
I think there are two options:
Copy the sources but just create a new project with the older Netbeans using existing sources as needed. If you haven't customized a lot of settings this is usually fine.
Use Maven projects instead of Ant projects (which are just called Java applications in the Netbeans projects window). Just select Maven in the categories list in the new project dialog. These projects are less closely tied to the Netbeans versions, they can even be imported fairly reliably into Eclipse and Intellij.
copy the source folder(netbeansprojects[Your project]\src) and copy it to a thumb drive. Open a new project in your pc (the one in your class, 8.0.2) and go to THAT projects src, delete it, and replace it with the one from you're flash drive.

customized version of eclipse

I currently have the android sdk running with eclipse. It happens to be that I also want to download stanford's customized version of eclipse in order to learn some other stuff. Will there be a problem downloading and installing this customized version if I already another version of eclipse installed on my computer?
Nope! Just make sure you install them to different locations and (potentially) use different workspaces. Eclipse is totally self-contained in the eclipse directory (or where ever you install it).

Categories