Java 20, JRE System Library, Maven [message #1859129] |
Sun, 14 May 2023 00:56 |
Tom Kratzke Messages: 4 Registered: June 2011 |
Junior Member |
|
|
I'm using Java 20 with Maven, and my JRE Runtime Library keeps reverting to JavaSE-19.
I am using Eclipse Version: 2023-03 (4.27.0), Build id: 20230309-1520, and:
Eclipse JDT (Java Development Tools) Source Patch with Java 20 support for 2023-03 development stream 1.2.300.v20230322-1359_BETA_JAVA20.
Java 20 is the only Jdk or Java that I have installed, JAVA_HOME is set to the jdk-20 directory, compliance is set to 20, and I have edited the build path's runtime library to use the execution environment, which I have set to JavaSE-20.
But when I update the Maven project, the runtime library reverts to JavaSE-19.
A little more detail: I'm using Maven from within Eclipse, and I started the Maven project with apache's maven-archetype-quickstart. I added the line <maven.compiler.release>20</maven.compiler.release>
into my properties section within my pom.xml, did a "Maven-Update Project" and JavaSE-19 shows up as my runtime library.
Am I missing something?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03186 seconds