Did you try setting jvm target to 1.8 in gradle (f...
# compose-desktop
b
Did you try setting jvm target to 1.8 in gradle (for both, kotlin and java plugins)
r
I did this one for Kotlin.
Not sure how to do this for Java. Trying.
b
Try also doing it for java {}
r
Have build with this new block. The problem remains.
b
Looks like java 9- is not supported then
Which kinda makes sense, since jpackage is used under the hood, which depends on java 9 features
r
Looks like the issue of library is known and I can add
--add-exports java.base/sun.nio.ch=ALL-UNNAMED
flag when building my app.
❤️ 1
@Big Chungus I've stuck with java-modularity and all this stuff, the solution was to
exclude
the failing lib and new version of it manually. Thanks for you participation, it is easier to cope with something when people try to help you.
b
Glad you got it sorted