从 Linux 启动 JNLP 文件

从 Linux 启动 JNLP 文件

有一个.jnlp可以从 Windows 启动的文件。我现在想从 Linux 打开它。命令是javaws file.jnlp。但是,我遇到分段错误,并且详细消息没有意义。

mahmood@cluster:~$ javaws dynamic-jnlp-1463053293456.jnlp

(<unknown>:19075): GLib-GObject-CRITICAL **: g_object_notify: assertion `G_IS_OBJECT (object)' failed
Segmentation fault

mahmood@cluster:~$ javaws -verbose dynamic-jnlp-1463053293456.jnlp
Java(TM) Web Start 10.13.2.20-fcs Launching: /usr/java/jdk1.7.0_13/jre/bin/java
/usr/java/jdk1.7.0_13/jre/bin/java
-classpath
/usr/java/jdk1.7.0_13/jre/lib/deploy.jar
-Djava.security.policy=file:/usr/java/jdk1.7.0_13/jre/lib/security/javaws.policy
-DtrustProxy=true
-Xverify:remote
-Djnlpx.home=/usr/java/jdk1.7.0_13/jre/bin
-Djnlpx.origFilenameArg=dynamic-jnlp-1463053293456.jnlp
-Djnlpx.remove=true
-Dsun.awt.warmup=true
-Xbootclasspath/a:/usr/java/jdk1.7.0_13/jre/lib/javaws.jar:/usr/java/jdk1.7.0_13/jre/lib/deploy.jar:/usr/java/jdk1.7.0_13/jre/lib/plugin.jar
-Xincgc
-Djnlp.localSeriesDownloader.className=gov.nih.nci.nbia.download.LocalSeriesDownloader
-Djnlp.remoteSeriesDownloader.className=gov.nih.nci.nbia.download.RemoteSeriesDownloader
-Djnlp.includeAnnotation=true
-Djnlp.userId=1234567
-Djnlp.password=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-Djnlp.codebase=https://public.cancerimagingarchive.net/ncia
-Djnlp.downloadServerUrl=https://public.cancerimagingarchive.net/nbia-download/servlet/DownloadServlet
-Djnlp.noofretry=4
-Djnlpx.splashport=50515
-Djnlpx.jvm=/usr/java/jdk1.7.0_13/jre/bin/java
-Djnlpx.vmargs="-Xincgc     -Djnlp.localSeriesDownloader.className=gov.nih.nci.nbia.download.LocalSeriesDownloader   -Djnlp.remoteSeriesDownloader.className=gov.nih.nci.nbia.download.RemoteSeriesDownloader -Djnlp.includeAnnotation=true -Djnlp.userId=8950035    -Djnlp.password=4C61DF3B6DEF014345FC95ECD7434D118A4F47DFF1AA4C41E9EC3DEF36AC1E93 -Djnlp.codebase=https://public.cancerimagingarchive.net/ncia -Djnlp.downloadServerUrl=https://public.cancerimagingarchive.net/nbia-download/servlet/DownloadServlet -Djnlp.noofretry=4"
com.sun.javaws.Main
-verbose
-notWebJava
/tmp/javawqXVePj

这是什么意思?请注意,这jdk1.7.0_13是通过 yum 安装的。

网络上没有足够的有关该错误的信息。

更新

我下载了java-1.8文件(不是 RPM),其中包含javaws.然后我使用了完整路径并且它起作用了:)

/opt/jre1.8.0_91/bin/javaws file.jnlp

相关内容