目前我无法在 Ubuntu 18.04 上打开 .jnlp 文件(TopCoder Arena)。它给出了一条错误消息
net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file. The application has not been initialized, for more information execute javaws/browser from the command line and send a bug report.
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:582)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:945)
早些时候它工作正常。但我想,最近的更新是问题所在。我已经尝试了这两个来源https://forums.linuxmint.com/viewtopic.php?t=294555和 AskUbuntu 的解决方案。到目前为止,我无法找到启动 Arena 的方法。我也尝试了这个线程https://apps.topcoder.com/forums/?module=Thread&threadID=618387&start=0的解决方案,但它们都不起作用。到目前为止我尝试过
的解决方案: 1.清除应用程序缓存。
2.从 Java 11 降级到 8
我无法将 IcedTea 降级到 1.6 版,因为 1.6 版无法在我的系统上运行。
这是错误消息:
net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file. The application has not been initialized, for more information execute javaws/browser from the command line and send a bug report.
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:582)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:945)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:576)
... 1 more
Caused by: javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.SAXParserFactory cannot be created
at java.xml/javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:305)
at java.xml/javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:261)
at java.xml/javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:147)
at com.topcoder.client.ui.impl.XMLUIManager.<init>(Unknown Source)
at com.topcoder.client.ui.UIFactory.getUIManager(Unknown Source)
at com.topcoder.client.ui.UIFactory.getUIManagerFromResource(Unknown Source)
at com.topcoder.client.contestApplet.common.LocalPreferences.getAllUIManagers(Unknown Source)
at com.topcoder.client.contestApplet.ContestApplet.<init>(Unknown Source)
at com.topcoder.client.contestApplet.runner.generic.main(Unknown Source)
... 6 more
Caused by: java.lang.RuntimeException: Provider for class javax.xml.parsers.SAXParserFactory cannot be created
at java.xml/javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:302)
... 14 more
Caused by: java.util.ServiceConfigurationError: javax.xml.parsers.SAXParserFactory: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:588)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1211)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1220)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator$1.run(ServiceLoader.java:1267)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator$1.run(ServiceLoader.java:1266)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1269)
at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1299)
at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1384)
at java.xml/javax.xml.parsers.FactoryFinder$1.run(FactoryFinder.java:287)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.xml/javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:283)
... 14 more