Troubleshooting a Java Web Start application and accessing log files

大城市里の小女人 提交于 2019-11-28 23:21:47
assylias

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
Aol

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.

Mzala

Having -Xmx with a value too large was the cause of the issue for me.

Reducing the heap size resolved it.

nhylated

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!