Which JDK(Oracle OpenJDK, Oracle JDK, Amazon Correto ...) is pre-installed in Eclipse?
I found I can change JREs and compilers from [Window]/[Preference].
Eclipse does not have any pre-installed JDK.
A suitable Java must be installed before you can install Eclipse.
You can configure Eclipse to use any JRE/JDK that you have installed for each of your projects. You can tell Eclipse about multiple Java installations.
Eclipse has its own Java compiler which can be set to be compliant with the different releases of Java.
You can refer for more information on eclipse installation here [https://wiki.eclipse.org/Eclipse/Installation][1], JREs and JDKs are installed on eclipse on a need basis, so none is pre-installed.
An instruction from the eclipse wiki:
If you intend to use Eclipse for Java development, then you should
install a JDK. If you aren't planning to use Eclipse for Java
development and want to save some disk space, install a JRE
These Installation instructions for all platforms will make your life easy:http://cobweb.cs.uga.edu/~cs1301/JavaInstall.html
Related
I downloaded eclipse installer, and ran it.
There are so many versions of eclipse like
Eclipse for IDE for java developers,
for C/C++ developers
etc
Which one do I need to install?
What is the most clean Eclpse distro to use for python development?
All distro comes with Java plugin and other stuffs.
I just want a clean Eclipse distro + pydev.
For a pre-configured environment, see http://www.liclipse.com (note it's commercial -- and has other niceties).
Aside from it, the option is getting the Platform Runtime Binary and follow the instructions from http://pydev.org/download.html and http://pydev.org/manual_101_root.html to install PyDev.
I installed Eclipse Platform Version: 3.7.2 on Ubuntu 12.04 LTS. My Ubuntu Software Center shows that Eclipse Extensible Tool Platform and Java IDE (eclipse 3.7.2-1) is installed. Also Eclipse Integrated Development is also installed (eclipse-platform 3.7.2-1). However when I launch Eclipse, I am not able to get a Java perspective and not able to create a Java project. When I click on Open Perspective: I see CVS Repository Exploring, Debug, Resource (default) and Team Synchronizing. Thanks in advance.
You can click open perspective > others and find Java perspective. please refer this picture:
First, you should not install Eclipse from any Linux repository or package manager; just download it directly from the Eclipse web site. Also make sure you're using the Oracle JDK, not gcj. There are many problem reported with running Eclipse under gcj. To specify the JVM for Eclipse to run in, use eclipse.ini
Second, what you have is the Eclipse Platform, which does not include any IDE features; it's just the base platform on which Eclipse is built (another problem with getting Eclipse from a linux repo is that you don't really know what they've packaged and delivered to you). For Java development, you probably want the Eclipse IDE for Java Developers or Eclipse IDE for Java EE Developers packages from the downloads page.
Close Eclipse and rename the .eclipse directory in your home directory with another name, for example .eclipseSAVE.
Restart Eclipse and in perspective you should find Java.
I have two JRE in my system. One is 32-bit and the other one 64-bit. In Eclipse I can configure both and choose which one to use when running my application.
I'm wondering if I can do the same thing in Netbeans. I've tried to go to Project Properties, Libraries and then tried to configure a new JRE there, through Manage Platforms, but it doesn't accept the directory of my JRE. How should I proceed?
Be aware that I'm talking about JRE, and not JDK ;)
EDIT: I managed to make it work by downloading a new 32-bit JDK and selecting its directory. I still couldn't make it accept a JRE directory.
Whether or not you can run Netbeans with just the JRE depends on what bundle you have downloaded. In Netbeans 7 only C/C++ and PHP bundles can be run with the JRE.
Older versions of Netbeans include more languages under this JRE umbrella, but the principle is the same.
The JDK contains the JRE plus tools to debug and compile code, so if you're doing anything Java based apart from just running the IDE, netbeans depends on the JDK.
I downloaded Eclipse plain Java version and now I realize that I need of Eclipse IDE for Java EE Developers distribution.
I'm new in Eclipse world and I would to know if it is possible (and how) to install Java EE plugins via Eclipse.
There is a thread in ServerFault that shows how to install the Java EE pluggins for Eclipse Java EE plugin for Eclipse IDE
Additionally you can:
Help -> Install new software.
Pick the Mars (or the version you have downloaded such as Luna, Kepler, etc) repository
At the bottom there are install options Java EE Development
To get all of the features of the Java EE edition of Eclipse, there are several packages that need to be installed. This page lists all of the packages that are included in the current Java EE version of Eclipse. If you want all of the features of the Eclipse for Java EE developers, go to Help --> Install New Software..., select the update site for your version (e.g. Kepler) from the dropdown menu, and select the checkbox for each item listed on the above page that is not already installed.
You'll probably find the 'getting started guides' here helpful.
You probably will need to download the plug-in. The easiest way to do this would be to:
go to Help -> Install new software.
Pick the Galileo(Change accordingly) repository
All the way at the bottom there are install options for 'Web, XML, and JaveEE Development
... also this is better suited for SO
follow this
Eclipse 3.3 or earlier, it is NOT possible to upgrade the Eclipse platform itself, only its features. So, you could for example upgrade the CVS feature or the PDE feature from 3.2.0 to 3.2.1, but not eclipse.exe itself.
and
Upgrading other features (like CDT, PDT, WTP...) can be done without the need to download a new platform binary, but because many projects align very closely (eg., the Eclipse 3.2 / Callisto or Eclipse 3.3 / Europa release trains) you will likely need to upgrade the Eclipse platform as well.