• Post Reply Bookmark Topic Watch Topic
  • New Topic

Xloggc:filepath - whitespace problem in directories

Yogish Basavaraj
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

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.

Appreciate your help.

Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!