repeats / SimpleNativeHooks

Java keyboard and mouse event listener library.
Apache License 2.0
27 stars 4 forks source link

Java 11 support #2

Open howtimeflies-io opened 5 years ago

howtimeflies-io commented 5 years ago

With Java 11, the latest LTS version, jlink and jdeps are used to build java applications to standalone executables.

To take advantages of jlink, the dependencies provided in the --module-path argument must be built with Java Platform Module System.

Could you please migrate this project to JPMS? https://dzone.com/articles/java-platform-module-systemjpms-migration-guide-fo

Thank you.

hptruong93 commented 5 years ago

A large part of the world (especially large corporations and medium businesses) will still linger on Java 8 for another good while. What benefit do you see supporting Java 11 jlink? Is this the only way to include an external JAR in your project?

howtimeflies-io commented 5 years ago

What benefit do you see supporting Java 11 jlink?

The distribution file size would be reduced significantly with a smaller Java runtime.

Is this the only way to include an external JAR in your project?

No, we could still live as it was before Java 9. 😄 But we might have to adapt to Java 11+ eventually, sooner or later.