How can I run a JAR (Java) files for desktop apps?

I have a JAR file for a Swing app and I'm not sure how I can install the latest version of java to run it. Java doesn't seem to be up to date in brew and java is not in the Software center since it's not a GUI app.
Solution:
run it inside distrobox
Jump to solution
1 Reply
Solution
asen23
asen233mo ago
run it inside distrobox
Want results from more Discord servers?
Add your server