龙芯安装Deepin系统和java以及icedtea-web后,打开JNLP网站依然出错,错误信息如下:
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:782)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:522)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:904)
***Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Application Error: The JNLP application is not fully signed by a single cert. The JNLP application has its components individually signed, however there must be a common signer to all entries.***
at net.sourceforge.jnlp.runtime.JNLPClassLoader$SecurityDelegateImpl.getClassLoaderSecurity(JNLPClassLoader.java:2356)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.setSecurity(JNLPClassLoader.java:315)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.(JNLPClassLoader.java:285)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:351)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:418)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:394)
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:774)
... 2 more
应该是Security Level的问题。
准备打开java控制面板进行设置,发现安装的并没有控制面板程序
如果在你的bin目录下没有这个jcontrol脚本,很可能是因为所使用的JDK版本较低(beta8.2以前都没有这个脚本)。不用惊慌,只是稍微费事一点,运行下面的命令即可,功能和jcontrol脚本是完全相同的:
$ /opt/j2sdk-image/jre/bin/java \
-Djavaplugin.user.profile= -Xbootclasspath/a:/opt/j2sdk-image/jre/bin/../lib/deploy.jar \
com.sun.deploy.panel.ControlPanel
没找到deploy.jar文件,网上下载后继续。
执行上述命令时出现错误:
java.lang.UnsatisfiedLinkError: com.sun.deploy.config.WinConfig.getPlatformUserHomeImpl()[B
at com.sun.deploy.config.WinConfig.getPlatformUserHomeImpl(Native Method)
at com.sun.deploy.config.WinConfig.getPlatformUserHome(Unknown Source)
at com.sun.deploy.config.Config.(Unknown Source)
at com.sun.deploy.util.DeployUIManager.setLookAndFeel(Unknown Source)
at com.sun.depoly.panel.ControlPanel.(Unknown Source)
暂时未找到解决方法。