I have enable tracing and logging and show console enabled but the program I am using is crashing Java in a matter of minutes, is there anyway I can save the log directly to a file so when it crashes I can see what the last error was that was causing this? Also I have no access to the source code of this program.
请在启动java时添加此项 - XX:ErrorFile=filename%p.log.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.