You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this project hasn't been updated a long time but still most of it works. However, I found a problem using it as a dependency for a JavaFX program which I package with the Java tool jpackage. The good news is I could solve the problem and will present the solution below. The bad news is I would like to ask you if you could please update xar with the solution? It is probably just updating one line of code. So here is my problem. I get the following error when packaging for MacOS: Bundler Mac PKG Package skipped because of a configuration problem: java.lang.module.FindException: Unable to derive module descriptor for /[...]/target/libs/joou-java-6-0.9.4.jar
Origin: xar uses as a dependency joou-java-6 (please check here https://github.com/sprylab/xar/blob/master/xar/pom.xml). This dependency is only meant up to Java 8. I am not sure about the exact problem but it is something in connection with the Java modules.
Solution: For Java 9 and later there is the dependency joou with the same version (please check here https://github.com/jOOQ/jOOU). So replacing the artifact id "joou-java-6" with "joou" in the xar pom solved the issue for me.
For this project I would propose that you could
create another build which provides xar for Java 9+ like the joou project does or
just update the line in the pom.
For 2. I do not know if that would still work for Java 8.
Best wishes,
Alex
The text was updated successfully, but these errors were encountered:
We still require compatibility with Java <9 since this is used on Android. We will not be working on this ourselves, but you are free to propose a PR with the necessary changes (separate module)
Hello,
this project hasn't been updated a long time but still most of it works. However, I found a problem using it as a dependency for a JavaFX program which I package with the Java tool jpackage. The good news is I could solve the problem and will present the solution below. The bad news is I would like to ask you if you could please update xar with the solution? It is probably just updating one line of code. So here is my problem. I get the following error when packaging for MacOS:
Bundler Mac PKG Package skipped because of a configuration problem: java.lang.module.FindException: Unable to derive module descriptor for /[...]/target/libs/joou-java-6-0.9.4.jar
Origin: xar uses as a dependency joou-java-6 (please check here https://github.com/sprylab/xar/blob/master/xar/pom.xml). This dependency is only meant up to Java 8. I am not sure about the exact problem but it is something in connection with the Java modules.
Solution: For Java 9 and later there is the dependency joou with the same version (please check here https://github.com/jOOQ/jOOU). So replacing the artifact id "joou-java-6" with "joou" in the xar pom solved the issue for me.
For this project I would propose that you could
For 2. I do not know if that would still work for Java 8.
Best wishes,
Alex
The text was updated successfully, but these errors were encountered: