I am launching a Java Web Start application which shuts down abruptly. Does anybody know how to access the logs for Java Web Start. Are there any known reasons for it to shut down abruptly?
You should enable detailed trace logging as explained on this page. The same page gives you the location of the log files;
The trace file is saved into the
log
directory in the "Java Deployment Home" folder. That folder's location is specific to your operating system:
- Windows XP:
%HOME%\Application Data\Sun\Java\Deployment
- Windows 7/Vista:
%APPDATA%\..\LocalLow\Sun\Java\Deployment
- Linux/Solaris:
%HOME%/.java/deployment
On my Windows 10 computer, the log file is found at:
C:\Users\<MY USER>\AppData\LocalLow\Sun\Java\Deployment\log
I am not sure why it would fail like that but you should be able to see where the logs by going to File/Preferences/Advanced
.
You should also be able to enable java console
from the same location.
Having -Xmx
with a value too large was the cause of the issue for me.
Reducing the heap size resolved it.
Having the -XX:MaxPermSize
defined in your JNLP file can cause this issue on Linux and Mac machines. Removing that argument from the JNLP seems to fix the issue.
Check this comment.
Try clearing the Java temporary internet files folder which is found in the Java Control Panel / General tab. After doing this I was able to successfully relaunch my application through invoking the jnlp.
© 2022 - 2024 — McMap. All rights reserved.