Is there any way to use a relative path with -Xloggc to set the path where the garbage collection events are written to? I have only been able to get -Xloggc to work with absolute paths.
Asked
Active
Viewed 644 times
0
-
Check the working directory from which your java application is started. Maybe the script that starts your app changes the directory before calling java executable and either that directory is not writable or your relative path points to non-existent path when in that directory. – Piotrek Bzdyl May 04 '15 at 05:53
-
That worked. I could have sworn that I checked in the working directory but I guess not. Thanks – Brian May 04 '15 at 17:26