How do I pipe the Java console output to a file?

后端 未结 5 1562
误落风尘
误落风尘 2020-12-08 21:17

I found a bug in an application that completely freezes the JVM. The produced stacktrace would provide valuable information for the developers and I would like to retrieve i

5条回答
  •  萌比男神i
    2020-12-08 22:14

    In Mac 10.8.2 logs could be found at /Users//Library/Application Support/Oracle/Java/Deployment/log/.

    Before you have to enable logging from Java Control Panel. Option "Enable logging" is at tab "Advanced". Java Control Panel could be started from "System preferences".

提交回复
热议问题