Is there a flatpak runtime that contains java?

3.6k views Asked by At

I'm currently trying to convert my java project into a flatpak package. But, in order to run the .jar file i need java which looks like isn't part of the freedesktop runtime. Is there any runtime that comes with java or do I have to make the jdk part of my flatpak package?

1

There are 1 answers

1
Kweenix On BEST ANSWER

I found the solution myself. There are extensions for the freedesktop sdk starting with org.freedesktop.Sdk.Extension. With the help of this openjdk11 extension, I was able to correctly add the jre to my flatpak package