OpenJfx with OpenWebstart lets crash the whole app

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
Janak Mulani
Posts: 40
Joined: 24 Mar 2020, 13:37

OpenJfx with OpenWebstart lets crash the whole app

Post by Janak Mulani »

This is continuation of the thread at https://github.com/karakun/OpenWebStart/issues/162

Janak Mulani
Posts: 40
Joined: 24 Mar 2020, 13:37

Re: OpenJfx with OpenWebstart lets crash the whole app

Post by Janak Mulani »

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

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> 
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.

Post Reply