JVM Help
Fellow geeks, I have a user with a query, and i'm having trouble finding the answer. I need a java VM switch, likely a -Duser.x that will allow one to tell a VM to use 24-Hour time format instead of defualt for English(United States), and a switch to overide the default date setting also; both to suppress the date, and to change the date format. The closest i've found so far is -Duser.timezone=GMT(+\-)n. That's fine and well, but timezone is not the issue, but rather date/time format. Suggestions?
no subject
Check it out.
(http://javatechniques.com/public/java/docs/basics/dateformat-examples.html)
no subject
For example:
-Xmx256m "-Xloggc:C:\\App\logs\fsgc.log" -Duser.timeformat="HH:mm:ss"
except that -Duser.timeformat is not a valid switch. I've found 3rd-party apps that do that, but that's not helpful either.
Can you switch the Locale()?
If you want the small sample classes, I can mail you those, too.
Sorry it took a while (12 days), but I got the idea here after I was reading about the System class. Hopefully this is still useful! :-)
-- Helgi / Craig
Re: Can you switch the Locale()?