I have installed several jre's and jdk's on my computer.
Today I set up grails version 2.3.4.
I have downloaded and installed the grails plugin on a new eclipse kepler.
However, when I start eclipse I get:
How to change to an jdk in eclipse?
I appreciate your answer!
UPDATE
As you can see the jdk should be properly configured:
you have to set the path of the eclipse-vm to a jdk (i.e. the vm with which eclipse is started) in the eclipse ini like described here.
Related
I try to create a Maven project with Eclipse Oxygen EE using JDK 1.8.0 u301 but when i click finish give this
error.
I don't understand how to solve it because I'm not using JDK 9.
I checked if I had more JDK installed but found nothing.
As suggested by #khmarbaise I downloaded the last version of Eclipse EE:
Eclipse JEE 2022-03-R-win32-x86_64
I suppose it was something related to eclipse version and maven version.
I used the same JDK and JRE for both version.
I have installed Netbeans 8.0.2 and it doesn't find the JDK installation path.
I suppose I have done all the steps correctly. Netbeans insists that I haven't installed the JDK.
How can I solve this issue?
[
This error exists because, you haven't configured the Environment Variable on your PC, that's why NetBeans is not detecting it. I recommend you to check this link.
Or you may Uninstall/Delete the existing NetBeans and JDK installer and download and install from here. It has package already linked with JDK, so you don't have to configure it later.
I am new to java and to get my project working I need eclipse, java, tomcat and maven. I am using Ubuntu. Is there any particular order for installations? Is there any place I can get a detailed read about it?
To install JDK (Java Development Kit): http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
To install JRE (Java Runtime Environment): http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
To install Eclipse: https://www.eclipse.org/downloads/
To install Tomcat: https://tomcat.apache.org/download-90.cgi
You need to install JRE first because Eclipse is built with Java. Select the appropriate pacgakes to the Ubuntu OS in the download pages.
Maven is included in the Eclipse EE environment.
Im trying to create a new grails project using the IDE GGTS (groovy and grails tool suite )
but it says that grails needs a JDK and JRE is not enough , I already installed JDK 1.7 and added the JAVA_HOME to the path
i also copied the grails folder and added a GRAILS_HOME to the path
in GGTS :
i tried In Window>Preferences>Java>Installed JREs to check JDK1.7.0_51
and
In Window>Preferences>Java>Installed JREs>Execution Environments I choosed JavaSE-1.7 and checked JDK1.7.0_51[perfect match]
the JDK installed is 64 bits and My PC is windows 8 64 bits
but the error persists
We have to make sure that the Java run time of our eclipse IDE points to a JDK instead of a JRE. Here are the steps:
Go to Window->Preferences
Edit Installed JRE if it is pointing to a JRE installation
Change it to the JDK installation directory. It is better if you also change the name
I've setup Worklight Studio to use JDK 1.6 in my Worklight project.
I also changed the "compilation compliance level" to 1.6.
Eclipse is started with jdk/jre 1.6.
Despite all of this, the war is generated with Java 1.7!!!
My JAVA_HOME and JRE_HOME variables are also set to my JDK/JRE 1.6.
I'm operating under Windows 7 (64 bit).
How can I tell Worklight to build the war with jdk 1.6, not the default Windows one?
In Eclipse, navigate to Window > Preferences > Java > Installed JREs. Make sure JRE v6 is the version that is to be used (also try to remove and re-add it, maybe it's some stuck configuration option...).
This is the JRE version Eclipse will use to generate the .war file in your Worklight project.
For good measure, delete your existing .war file before generating a new one after changing the above.