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
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
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:
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
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
>>
>>
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-
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
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