karakun / OpenWebStart

Run Web Start based applications after the release of Java 11
https://openwebstart.com
Other
405 stars 47 forks source link

Being unable to read the cacerts or trusted.certs #552

Open 2573117531 opened 10 months ago

2573117531 commented 10 months ago

I encountered the following problem when executing jnlp file. If you know how to solve it, please help me. thank you

Adopt Open JDK : OpenJDK8U-jre_x64_windows_hotspot_8u232b09 OpenWebstart : v1.6.0

net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application. The application has not been initialized, for more information execute javaws from the command line. at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:587) at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:372) at net.sourceforge.jnlp.Launcher.access$200(Launcher.java:70) at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:654) Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: A fatal error occurred while trying to verify jars. An exception has been thrown in class JarCertVerifier. Being unable to read the cacerts or trusted.certs files could be a possible cause for this exception.: Error in verify jar C:\Users\XLiu03.cache\icedtea-web\cache\0\48\s-work.jar at net.sourceforge.jnlp.runtime.classloader.JNLPClassLoader.initializeResources(JNLPClassLoader.java:712) at net.sourceforge.jnlp.runtime.classloader.JNLPClassLoader.(JNLPClassLoader.java:350) at net.sourceforge.jnlp.runtime.classloader.JNLPClassLoader.createInstance(JNLPClassLoader.java:423) at net.sourceforge.jnlp.runtime.classloader.JNLPClassLoader.getInstance(JNLPClassLoader.java:495) at net.sourceforge.jnlp.runtime.classloader.JNLPClassLoader.getInstance(JNLPClassLoader.java:468) at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:579) ... 3 more

AlBundy33 commented 3 weeks ago

You can try to check your files first with javas jarsigner.

Also the path C:\Users\XLiu03.cache\icedtea-web\cache\0\48\s-work.jar seems wrong (missing \ - maybe just a typo)

You could also try OWS 1.9 or 1.10.

Or close the issue if not relevant anymore.