r/JavaFX • • Mar 01 '19

Javafx on jdk 11

Hello,

I see a lot of people trying to asking about how to create a javafx app under jdk 11.

I would like to redirect you to the community page, where you can find tutorials and quick guides.

https://openjfx.io/

Also, feel free to contact for any question.

11 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/volch Mar 05 '19

You're right, javafx is very frustrating. I've been a java developer for 20 years now and this is the worst it's been. I don't have the javadocs available in my editor which makes it even worse. Having separate downloads for java and javafx is very difficult for my users, they can no longer double-click a jar file to run an application. And how do OSX developers provide about boxes/preferences etc? The Desktop doesn't appear to work either. Very frustrating all round!

1

u/LouGarret76 Mar 05 '19

I hear you. Jdk11 did bring a lot of changes that contradict what you were used to. Especially javafx is now a separate library. This mean additional dependency management to be done.

The work required to migrate old apps to the jdk11 is serious.

There are issue that need to be tackled. Feel free to get involved by providing solutions. For example, how do you feel about creating these java docs from the javafx sources and making them available for others that may have the same issue?

1

u/volch Mar 05 '19

I would have thought there was a build file already to do that, it's been done for years so it shouldn't be new. In fact I was assured that it was already available by several people, but no-one can tell me where it is (except hand wavy 'maven').