Xloggc:filepath - whitespace problem in directories
posted 10 years ago
i am working on client side applets that basically updates client plugin jre params when we run the applet.
this is to enable GC information where all our applets run in windows.
we are maintaining all our client side logs in 'C:\Documents and Settings\<accountname>\Application Data\ClientLogs\'
so we decided to log Verbose gc information also in the above path.default path we get from System.getProperty("deployment.user.profile") ('C:\Documents and Settings\<accountname>\Application Data\) in the applet class.
but when we mention the path in plug in console as a jre params 'Xloggc:C:\Documents and Settings\<accountname>\Application Data\ClientLogs\log.gc' it will not create the log . basically after workaround we found that if directory having whitespace jre doesnt recognize .
we tried same path without white space it works (it creates file and logs gc information).
Please kindly help me in solving this in terms logging gc information using Xloggc to default directory ie System.getProperty("deployment.user.profile") path.