问题
I have Windows 10 pro. x64. I have jnlp file, that works on many different laptops, but not mine. So usually jnlp file opens a window with application. Not on mine machine. When i double click on jnlp or run it using jawaws file.jnlp
what happens is Java(TM) web launcher and Java (TM ) Web Start Launcher is active in processes in task manager..
So, each time i run jnlp program, it runs web launcher and web start launcher but doesn't run program.
What is curious, sometimes but seldomly, it opens java window and generate error message then, during jawaws run.
What i tried is to reinstall jre. I was using x86 and x64 versions. 1.8.161
I tried editing jnlp file according to this solution. I changed max heap size to 780 mb, initial heap from 256 to 512 and 1024 and max heap to 1024. It can't help.
I deleted cache of java applications, still not helped. I changed JAVA_HOME to my 32 bits jre ( before it was pointing to j2se sdk ). Still without proper solution.
I also deleted temporary internet files for all options.
Other jnlp run properly. In jnlp file there is sdk 1.7+ defined.
回答1:
Have you checked the webstart trace file for a clue of what's wrong?
From the Java Control Panel 'advanced' tab, select Debugging->"Enable tracing"
And set the trace level to 'all':
Trace files are written here:
c:\Users\<user>\AppData\LocalLow\Sun\Java\Deployment\log\ *.trace
回答2:
Problem solved by downgrading java update to older updates.
来源:https://stackoverflow.com/questions/48783392/jnlp-file-doesnt-work-on-windows-10-x64