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 t

Re: question java 1.7 support

2022-03-26 Thread John Patrick
is for Java 7. For Java 17 it should be just 17. > > > The email subject says “ question java 1.7 support” > But yeah should be simply 17 > Use release flag rather than sources and target > > > > > > > Nils. > > > > > On Sat, 26 Mar 2022 at 13:

Re: question java 1.7 support

2022-03-25 Thread Olivier Lamy
On Sat, 26 Mar 2022 at 2:06 pm, Nils Breunese wrote: > Olivier Lamy wrote: > > > should be 1.7 not 1.17 ;) > > No, 1.7 is for Java 7. For Java 17 it should be just 17. The email subject says “ question java 1.7 support” But yeah should be simply 17 Use release flag rathe

Re: question java 1.7 support

2022-03-25 Thread Nils Breunese
Olivier Lamy wrote: > should be 1.7 not 1.17 ;) No, 1.7 is for Java 7. For Java 17 it should be just 17. Nils. > On Sat, 26 Mar 2022 at 13:48, Alexander Ushakov < > alexander.ushakov.em...@gmail.com> wrote: > >> Hello! >> >> I am trying to play with Apache Kafka and craft next pom.xml >> >>

Re: question java 1.7 support

2022-03-25 Thread Olivier Lamy
should be 1.7 not 1.17 ;) On Sat, 26 Mar 2022 at 13:48, Alexander Ushakov < alexander.ushakov.em...@gmail.com> wrote: > Hello! > > I am trying to play with Apache Kafka and craft next pom.xml > > ```xml > > xmlns="http://maven.apache.org/POM/4.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-

Re: question java 1.7 support

2022-03-25 Thread Nils Breunese
Alexander Ushakov wrote: > >org.apache.maven.plugins >maven-compiler-plugin >3.1 > > 1.17 > 1.17 > > > > (…) > > results with error > > ``` > [ERROR] Failed to execute goal > org.apache.ma

question java 1.7 support

2022-03-25 Thread Alexander Ushakov
Hello! I am trying to play with Apache Kafka and craft next pom.xml ```xml http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> 4.0.0 streams.examples