wood burning stoves 2.0*
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "Xloggc:filepath  -  whitespace problem in directories" Watch "Xloggc:filepath  -  whitespace problem in directories" New topic
Author

Xloggc:filepath - whitespace problem in directories

Yogish Basavaraj
Greenhorn

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.

Thanks
Yogish
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Xloggc:filepath - whitespace problem in directories
 
Similar Threads
java lang ClassNotFoundException - com sun xml parser DocumentBuilderImpl
deployment issue
Error in setting SecureRMIClientSocketFactory
Xloggc:filepath - whitespace problem in directories
package javax.servlet does not exist