对 Java Web Start 应用程序进行故障排除和访问日志文件
问题描述:
我正在启动一个突然关闭的 Java Web Start 应用程序.有谁知道如何访问 Java Web Start 的日志.是否有任何已知原因使其突然关闭?
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;
跟踪文件保存在Java 部署主目录"文件夹中的 log
目录中.该文件夹的位置特定于您的操作系统:
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