-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JavaFX not in Java11 #72
Comments
Same for me with Java11 or OpenJDK even with javafx installed. Always the same error message, even after "apt-get install openjfx". |
After lots of trial-and-error I think I understood, that it simply doesn't work with any Java11 version.
|
It doesn't work on Fedora 29:
Mebus |
Yes, as I see Java 11 is not supported yet. Is there any plans to support Java 11 or should we move on? |
I got it to sort of work with OpenJDK 11 and OpenJFX 11 with |
Can't cheat and setAccessible() anything you want with the new module in place, even without a security manager. So Even then I encounter Also, while connecting to servers seems to work, none of my subscription tabs get updated, even when I can tell from other logs that messages were passed on those topics. |
@olivm-fr OpenFX project now recommends building it in your jar. Older versions had problems with that, but it's been well and truly separated from the JRE (as have some remaining parts of JavaEE). Since Java 9, the JavaFX website recommends including it with your application: https://openjfx.io/openjfx-docs/#modular |
when you compile a javafx application,you need javafx mods, I run it on Java 12, but it does't work well. |
This issue can be fixed by adding the openjfx path and modules as arguments when running the javafx application, I already posted the solution on this link. |
Last commit was 2 years ago. Maybe it's time to leave... |
I was not able to get it to run unter AdoptOpenJDK, even with the --module-path and --add-modules althoug i downloaded the jdk and copied the libs to the right folder and made sure that they where read correctly. So i tried out another client http://mqttfx.org/. Interestingly enough it comes with an installer like the branch of olivm-fr, https://github.com/olivm-fr/paho.mqtt-spy/releases/tag/1.0.1-proxy1, and like it, it installs an embedded java8 runtime. |
I have the error:
and I have realised it is probably because JavaFX is not included anymore in Java11, which I run.
I don't know how to include JavaFX 11 so that it works, maybe it has to be recompiled? Can you include the necessary JavaFX classes in the jar?
The text was updated successfully, but these errors were encountered: