File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Xloggc:filepath  -  whitespace problem in directories Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Xloggc:filepath  -  whitespace problem in directories" Watch "Xloggc:filepath  -  whitespace problem in directories" New topic

Xloggc:filepath - whitespace problem in directories

Yogish Basavaraj

Joined: Aug 18, 2005
Posts: 3
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.

I agree. Here's the link:
subject: Xloggc:filepath - whitespace problem in directories
It's not a secret anymore!