r/JavaFX • • Jul 11 '23

[deleted by user]

[removed]

6 Upvotes

9 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Jul 11 '23

[deleted] — view deleted comment

3

u/CodeDead-gh JavaFX Fan Jul 11 '23 edited Jul 11 '23

JavaFX 18 is no longer updated (last update to JFX18 was last year). You should probably switch to the latest JFX, 20.0.1, which is the most recent version with the latest and greatest bug fixes and improvements.

Same goes for the JDK. JDK 20.0.1 has been available for a couple of months but if you want more 'LTS' support, you could use JDK 17. JDK 18 is not readily available on most linux distributions to install on host-machines because: It's not an 'LTS' release and it's no longer updated. Alternatively you could use jlink to bundle a JRE with your app, which will remove the requirement of having Java installed entirely.

https://gluonhq.com/products/javafx/

https://adoptium.net/

https://adoptium.net/blog/2021/10/jlink-to-produce-own-runtime/

1

u/orxT1000 Jul 17 '23

Point is, it should be your jvm. Same goes for jfx dependency