Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven Integration for Eclipse JDK Warning

I've installed Maven from the Marketplace, and I'm trying to create a new Maven Project in Eclipse

And this what I get when I create a new Project

enter image description here

How can I fix this JDK & JREs warnings.

Thanks

like image 894
Wassim AZIRAR Avatar asked Dec 13 '22 11:12

Wassim AZIRAR


1 Answers

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

on *x systems (probably including MacOS):

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

on Win*:

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

or -vm C:\path\to\jdk\bin\javaw.exe

Make sure the -vm parameter comes before any -vmargs!

like image 175
Sean Patrick Floyd Avatar answered Dec 28 '22 06:12

Sean Patrick Floyd