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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.