This may affect your situation badly, but I found a solution to this problem. I modified the JNLP file to indicate which JRE to use. In our case, the JNLP file had the following:
<j2se java-vm-args="-Xmx512m -Dsun.java2d.noddraw=true" version="1.6+"/>
And, apparently, " 1.6+ " allows you to run up to 1.7. So I deleted the " + ", for example:
<j2se java-vm-args="-Xmx512m -Dsun.java2d.noddraw=true" version="1.6"/>
And now the application is working fine. If you can change the JNLP file to be sent via the URL of your application, that would be better. In our case, this was not an option (JNLP comes with a third-party software package), so I downloaded JNLP, edited it, and now we launch the application by double-clicking the .jnlp file (or by running 1.6 javaws.exe on it).
Below is the documentation in JNLP format if you need more information.
S'pht'kr
source share