This week's book giveaway is in the Security forum.
We're giving away four copies of Penetration Testing Basics and have Ric Messier on-line!
See this thread for details.
Win a copy of Penetration Testing Basics this week in the Security forum!
  • 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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic