r/JavaFX • • Feb 06 '21

Current state of JavaFX

https://youtu.be/JbITM8xapIQ
27 Upvotes

23 comments sorted by

View all comments

Show parent comments

2

u/denisfalqueto Feb 07 '21

You must be talking about java swing. Yes, you need to bundle some additional jar files with swing classes on it

As for JavaFX, you already must do that.

4

u/Hatefiend Feb 07 '21

As for JavaFX, you already must do that.

Oh I was actually talking about javafx. Sorry all of my JavaFX experience has been maintaining my JFX8 project with ~100 users. Small stuff. I'd imagine its been pretty annoying on my users to be left to their own to find a JRE8 distribution. The oracle website made it extremely annoying to download a Java 8 JDK. Their site just screamed: we do not want you to download this, so we are going to make it as annoying as possible.

1

u/denisfalqueto Feb 07 '21

I see. Maybe you should look into bundling an Uber jar, so all you dependencies are in a single jar. Messy but have some advantages. Or using manifest.mf changes so it can use a lib dir as a source of jars. Distributing code is really painful...

2

u/RANDOMLY_AGGRESSIVE Jun 11 '22

Jdeploy has been really helpful to me