[fixed]Java rookie issue

install jre-openjdk but can not found java-openjfx package.
$ java -jar xxx.jar
error: Could not find or load main class com.xxx.gui.Main
Window
Caused by: java.lang.NoClassDefFoundError: javafx/application/Appli
cation

Did you install that (java-openjfx) as well? :wink:

why you quote but not read?

java-openjfx doesn’t seem available for ARM – it is for x64.


I read.
But I didn’t notice that the post was tagged ARM.
On x86 it’s a separate package.

so, which package group should install, for aarch64 openjdk & openjfx?

and on ARM it doesn’t appear to exist

but I don’t actually know
I tried to be helpful
but with the specifics here I’m in way over my head

ok, switch to PiOS64, they have openjdk & openjfx, thanks everyone.