Re: question java 1.7 support

2022-03-26 Thread John Patrick
Most people and use cases have the Java Home is the same version you put in source/target/release. The part I was trying to highlight was, if you set release and have Java Home and Path to Java 1.7 (as the title of the email indicates), then it won't work, so you need to use source and target. If

Re: question java 1.7 support

2022-03-26 Thread Alexander Kriegisch
John Patrick schrieb am 26.03.2022 16:12 (GMT +07:00): > I thought maven.compiler.release only supports Java 9 and newer (The > -release argument for the Java compiler, supported since Java9). Small correction: The javac compiler option '--release N' exists since JDK 9, but you can also compile

Re: question java 1.7 support

2022-03-26 Thread John Patrick
Alexander, Your email says Java 1.7, your sdkman says 17 and your maven pom says 1.17. I thought maven.compiler.release only supports Java 9 and newer (The -release argument for the Java compiler, supported since Java9). If you are wanting Java 1.7 (released July 2011) then use user properties;