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
How can I fix this JDK & JREs warnings.
Thanks
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
!
You need to add a default JDK to the Installed Jres. Just install a JDK in the System click on the Link "Installed JREs" and add the folder where you installed the JDK to the paths. That's it.
精彩评论