There is a .jnlp file which can be launched from Windows. I now want to open it from Linux. The command is javaws file.jnlp. However, I get a segmentation fault and the verbose message is not meaningful.

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 Launching: /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"

What does that mean? Please note that jdk1.7.0_13 is installed via yum.

There no not enough information about the error on the web.


I downloaded the java-1.8 file (not the RPM) which contain the binary of javaws. Then I used the full path and it worked :)

/opt/jre1.8.0_91/bin/javaws file.jnlp
  • are you running the same java versions? by default the java that is shipped with CentOS is openjdk not the Oracle one, perhaps in Windows you will have the Oracle one. I would start right there and ensure that the versions are the same vendor wise. – BitsOfNix May 19 '16 at 11:36
  • How can I find the version of the java embedded in the JNLP file? – mahmood May 19 '16 at 12:20
  • Getting JNLP files to run is tricky, and often highly dependent on a Java version. I have got 3 Java versions installed in OS/X, the current one, the one need for the "new" firewall 1.7, and the for the "old" firewall 1.6. When launching the file for the first time, you can specify the Java version, and then it outputs a directory/icon that I have to click every time. – Rui F Ribeiro May 19 '16 at 12:45
  • @mahmood it is not the java embeded on jnlp .... it is the java vm on the OS. A quick look into google and you will find how to identify if you have oracle or openjava installed in your centos. After that, think a bit what shold be the next step. as I asked, did you compare the version of java vm used in Windows vs CentOS? – BitsOfNix May 19 '16 at 13:52
  • 2
    @mahmood, answers go in the Answer box, not as edits to the Question, please. – Jeff Schaller Sep 5 '17 at 15:25

Browse other questions tagged or ask your own question.