Why I am getting: Invalid JFX Runtime

I have an existing application that is compiled with java 1.6 and works with jnlp / webstart. If I run this application from a client with JRE 1.6 everything is fine. But when I compile the code with java JDK 7 and run the client with JRE 1.7.67 I see the java 7 splash screen and nothing else happens.

Below I have attached the log file .... can anyone give a good reason why the application is not running? Another thing that worries me is that the existing code was written 10 years ago and hasn't received any javaFX code.

Log started: wo, 24 dec 2014 15:59:52 +0100
Java Plug-in 10.67.2.01
Using JRE version
 1.7.0_67-b01 Java HotSpot(TM) 64-Bit Server VM
basic: No valid JFX runtime at [C:\Program Files\Java\jre7\bin\javaw.exe]
basic: Running JVMParams: [JVMParameters: isSecure: true, args:]
    -> [JVMParameters: isSecure: true, args:]
temp: new XMLParser with source:
temp: <?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://localhost/test" href="db/webstart/cache.jnlp">
  <information>
    <title>Test app</title>
    <vendor>Implemented by Test</vendor>
    <description>Cache Cleaner</description>
  </information>
  <security>
    <all-permissions/>
  </security>
  <resources>
    <j2se version="1.7" />
    <property name="user.language" value="nl"/>
    <property name="user.country" value="NL"/>

    <jar href="lib/test.jar" main="true"/>
  </resources>

  <application-desc main-class="org.test.jnlp.CacheCleaner" >
    <argument>http://localhost/test.jnlp</argument>
  </application-desc>
</jnlp>

      

+3


source to share


1 answer


Out of memory, when I updated my JDK a year or two ago, I also noticed that JavaWS applications no longer start successfully.

With a little Googling, I found that the default security settings had been changed.



You may have the same problem, so you may need to add some URLs to the allowed list.

On linux system, I believe this was achieved by running jcontrol from the JDK.

0


source







All Articles