开发者

Maven Integration for Eclipse JDK Warning

开发者 https://www.devze.com 2023-03-16 22:34 出处:网络
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

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

Maven Integration for Eclipse JDK Warning

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消