karakun / OpenWebStart

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

NoSuchMethodError x509.NetscapeCertTypeExtension with JVM 21 runtime #567

Closed berniegsfc closed 9 months ago

berniegsfc commented 10 months ago

OpenWebStart 1.9 fails with

java.lang.NoSuchMethodError: 'java.lang.Boolean sun.security.x509.NetscapeCertTypeExtension.get(java.lang.String)' 
   at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:681) 

if you allow OpenWebStart to update its runtime to 21.0.1 when asked. A (signed) application that demonstrates this problem is at skteditor. With a JVM 17 runtime, openwebstart will start the application.

chrisjansen3380 commented 9 months ago

An identical issue is logged in the IcedTeaWeb github page (https://github.com/AdoptOpenJDK/IcedTea-Web/issues/922). They wil create a fix for this before the end of the year. For now, OWS 1.8 should be used (or you can use v1.9 but fixate the JRE version in the jnlp file to v17, this is what I did)

janakmulani commented 9 months ago

Closing because it is duplicate of https://github.com/AdoptOpenJDK/IcedTea-Web/issues/922