Login  Register

Re: Javaws deployment of Jogl application - problem on Windows

Posted by gouessej on May 17, 2015; 8:29am
URL: https://forum.jogamp.org/Javaws-deployment-of-Jogl-application-problem-on-Windows-tp4034486p4034491.html

jmaasing wrote
I got the same dialog BIS talks about for Safari on OSX (which I get for all JNLP-even the jogl demo ones). It sounds more like a browser/mime-type problem.
Then put it into your .htaccess file if you use Apache:
AddType application/x-java-jnlp-file .jnlp
or try to set the content type of the JSP page tag to force your JSP to be treated as a JNLP file.

Edit.: You should rather provide a fixed JNLP file instead of a generated JNLP file. I did the same several years ago in PHP and it leads to some troubles when the end users modify the user agent.
Julien Gouesse | Personal blog | Website