Maven Integration for Eclipse JDK Warning

I installed Maven from Marketplace and I am trying to create a new Maven Project in Eclipse

And this is what I get when I create a new project

enter image description here

How can I fix these JDK and JREs warnings.

thanks

+4
source share
2 answers

in eclipse.ini (the file next to the eclipse executable) add the full path to the java / javaw executable in your JDK:

on * x (possibly including MacOS):

 -vm /path/to/jdk/bin/java 

in Win *:

 -vm C:/path/to/jdk/bin/javaw.exe 

or -vm C: \ path \ to \ JDK \ Bin \ javaw.exe

Make sure the -vm is before any -vmargs !

+12
source

You need to add default JDK in Installed Jres. Just install the JDK on the system by clicking the β€œInstalled JRE” link and add the folder in which you installed the JDK in the path. What is it.

+1
source

All Articles