OpenJfx with OpenWebstart lets crash the whole app
-
- Posts: 773
- Joined: 24 Mar 2020, 13:37
OpenJfx with OpenWebstart lets crash the whole app
This is continuation of the thread at https://github.com/karakun/OpenWebStart/issues/162
-
- Posts: 773
- Joined: 24 Mar 2020, 13:37
Re: OpenJfx with OpenWebstart lets crash the whole app
Hi,
I installed Zulu13.31.11-ca-fx-jdk13.0.3-win_x64. This JDK includes JavaFX.
My OWS uses this JVM to run the Jnlp Application.
I created which uses JFxPanel and JavaFX webView.
The following Jnlp files run without any problem with the above JVM with JavaFX
So if you use a JVM which includes JavaFx then you don't need to specify any JavaFX jars in your Jnlp.
I hope this helps.
I installed Zulu13.31.11-ca-fx-jdk13.0.3-win_x64. This JDK includes JavaFX.
My OWS uses this JVM to run the Jnlp Application.
I created which uses JFxPanel and JavaFX webView.
The following Jnlp files run without any problem with the above JVM with JavaFX
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="$$codebase">
<information>
<title>JavaFX 11 App</title>
<vendor>Karakun AG</vendor>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="13*"/>
<jar href="jars/s_jfx11lib.jar"/>
</resources>
<application-desc main-class="com.karakun.ows.jfx.LauncherSwingFXBrowser"/>
</jnlp>
I hope this helps.