We should defined what could be the minimal java version requirement :
- for running,
- for building.
For running and for a library, I generally advice the minimal java version supported :
So that means java 8, this is bad news for library developer 😅 but this is better for library users.
AFAIK from a users point of view I don't know benefits to target a more recent version of java (but let me know if I'm wrong)
So depends if we really want it to be reused.
For building it's less important generally you can use more recent version and build binary for older jvm using --release
(see : eclipse-leshan/leshan#1412)
We should defined what could be the minimal java version requirement :
For running and for a library, I generally advice the minimal java version supported :
So that means java 8, this is bad news for library developer 😅 but this is better for library users.
AFAIK from a users point of view I don't know benefits to target a more recent version of java (but let me know if I'm wrong)
So depends if we really want it to be reused.
For building it's less important generally you can use more recent version and build binary for older jvm using --release
(see : eclipse-leshan/leshan#1412)