Java binary, can't redirect stderr on VM crash
pdoubleya at gmail.com
Thu Nov 27 14:21:15 PST 2008
> With Sun's JDK 6 and OpenJDK you should be able to redirect the vm output to
> a log file with the following options.
> -XX:+UnlockDiagnosticVMOptions -XX:+LogVMOutput
hotspot.log was created, but did not include the library crash, which
still went to the console.
Thanks, though! Had never tried those flags before.
More information about the discuss