I just moved to JDK 11.0.9 from 1.8 and I found out that there isn't JRE in JDK 11 and while executing any Maven command I get The specified JRE installation does not exist error. I have set the new JDK 11 in my Java_Home and in the path but in eclipse I don't see any perfect match for it in Execution Environments panel. I am not sure how to handle this since there is no jre for JDk 11.
Asked
Active
Viewed 57 times
0
-
Use JDK11 (as you said, there is no JRE for Java 11) – geocodezip Jan 01 '21 at 05:04
-
which eclipse version you are using? – dkb Jan 01 '21 at 05:08
-
But what about the error I am getting while running maven command. In eclipse I have to choose the execution environment. – Sara Noor Jan 01 '21 at 05:09
-
I am using STS 3.9.4 – Sara Noor Jan 01 '21 at 05:09
-
Specifically, [this answer](https://stackoverflow.com/a/58353576/1189885) – chrylis -cautiouslyoptimistic- Jan 01 '21 at 05:29