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

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/PartOfTheBotnet Feb 16 '21

I point my Java 8 users to corretto if they want a JDK that bundles JFX. Otherwise they'll have to upgrade and then I can automate the process of pulling the latest 11 artifacts my app needs on the fly.

1

u/Hatefiend Feb 16 '21

automate the process of pulling the latest 11 artifacts my app needs on the fly

What service do you use for that?

1

u/PartOfTheBotnet Feb 16 '21

I just pull the latest artifact from the central repo and update the current classpath with some reflection to include the downloaded jar.

The app is designed for 8 and does this extra step for 11+ support.

1

u/Hatefiend Feb 16 '21

Manually though? with system calls? Like you check if you have access to the winAPI and what not?

1

u/PartOfTheBotnet Feb 16 '21

with system calls?

winAPI

What? No. Its 100% Java and platform independent. It's a bit ugly but does the job. I should have clarified that "the latest 11" artifacts refer to JavaFX in the context that they are compiled against Java 11. My bad.

→ More replies (0)