2018-05-17 14:42 GMT+02:00 Borislav Kirilov <

> Hello everyone,
> I'm trying to compile my program using "project Jigsaw" from Java9 which is
> supposed to compile an executable from my Java program that is able to
> execute without Java preinstalled on the machine and to be small as a size
> (because this project only adds what you actually use from the Java
> framework ... ). But unfortunately, when trying to compile(with Maven and
> IntelliJ), I was getting "zip END header not found" from
> maven-compiler-plugin.
> That lead me to a suspicion, that one of the jars I include is malformed.
> Then I tried excluding one by one all the jars I use in my project and
> found out, that when I comment the following dependency:
> <dependency>
>     <groupId>org.apache.sshd</groupId>
>     <artifactId>apache-sshd</artifactId>
>     <version>1.7.0</version>
>     <type>pom</type>

Your dependency is the pom file, not a jar, so the result is expected.
You need to fix your pom, but it's not related to SSHD.


>     <exclusions>
>         <exclusion>
>             <groupId>org.slf4j</groupId>
>             <artifactId>slf4j-jdk14</artifactId>
>         </exclusion>
>     </exclusions>
> </dependency>
> the project compiles just fine and doesn't give me the warning ... So my
> question is - is it possible, that "apache-sshd" does not support Java
> above 8 (which currently is 9 and 10 ... )? And if that so, is there any
> chance for updating it soon to start supporting Java 9?
> Thanks in advance,
> Greetings,
> Borislav Kirilov

Guillaume Nodet

Reply via email to