springboot-osgi-sample icon indicating copy to clipboard operation
springboot-osgi-sample copied to clipboard

can use java version 8 ?

Open iyangpengyu opened this issue 3 years ago • 1 comments

the project version is jdk15, but i want use jdk8 can`t work ; i want konw why ?

iyangpengyu avatar Dec 21 '21 11:12 iyangpengyu

In the end I guess I just used some code specific to JDK >11 in this exemple. But all the libs, and mainly the Osgi one which is interesting here, it is working with jdk8. So yes, you can make it jdk8 compatible.

It should be better, for your application, to upgrade to newer LTS, 11 or 17, cause they are having lot of improvements in the JVM itself.

mmornati avatar Dec 21 '21 12:12 mmornati