Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Troubleshooting a Java Web Start application and accessing log files

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?

like image 344
crazypaladin Avatar asked Aug 16 '12 15:08

crazypaladin


People also ask

How do I enable Java logging?

To enable logging perform the following actions: Open Java Control Panel. Click Advanced tab. Select Enable Logging under the Debugging option.


2 Answers

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
like image 190
assylias Avatar answered Oct 01 '22 13:10

assylias


On my Windows 10 computer, the log file is found at:

C:\Users\<MY USER>\AppData\LocalLow\Sun\Java\Deployment\log
like image 26
Aol Avatar answered Oct 01 '22 12:10

Aol