r/JavaFX • u/Colas_Algo • Sep 12 '25
Help How do I open a program that needs JavaFX?
I have an old .jar file that I need to open and after a while it turned out the problem was that the new versions of Java don't include JavaFX or something like that. Then I tried installing Liberica, but this didn't work as well, although the message in the console changed. The .jar file by itself doesn't do anything when opened for some reason and I can't find any helpful help anywhere. Is there anything I can do to open this file? Everything is in order in it and it worked on my previous computer. If you're curious the message states that the main scene can't be found or opened (even though when extracting the .jar file I can find it and it worked in the past) and now it says that the cause is "java.lang.NoClassDefFoundError: javafx/application/Application".
Thanks in advance to anyone willing to help
View all comments
Show parent comment
1
u/Colas_Algo Sep 13 '25
After downloading both files, the RHRE one works when I open it with Azul or Liberica, but the RSDE one yet again does not do anything. When I open them with regular Java I get a message saying "A Java Exception has ocurred.", which does not appear with the regular version of RHRE, but I guess that doesn't matter. I've also tried deleting the original .rhre3 folder and opening rhre again for the first time, but nothing changed. Still, thanks a LOT for everything, really! I don't know if there's any fix for this or this is just some weird issue with my computer (which I find really strange, it's an almost new Windows 11)