I have made a debian package of karaf 4.4.5. The package has been tested with java-17 on debian 12.4 "bookworm" on amd64. https://steinar.bang.priv.no/2018/01/23/installing-apache-karaf-on-debian/comment-page-1/#comment-16130
To use it, you will need to add my private maven repository as an APT source. Instructions here (PS no need for openjdk-8-jdk. Maybe I should update the blog post?) https://steinar.bang.priv.no/2018/01/23/installing-apache-karaf-on-debian/ git repo for the packaging is here: https://github.com/steinarb/karaf-debian
