File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Linux / UNIX and the fly likes Locale in Solaris Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Locale in Solaris" Watch "Locale in Solaris" New topic

Locale in Solaris

Joe Ess

Joined: Oct 29, 2001
Posts: 9189

Does anyone know exactly how the java system property is determined on Solaris 9?
I've got a really weird problem. If my admin does an "su - my_user_name" and runs a Java program, it will not have set. This causes problems with my Weblogic server as locale-specific things like currency symbols are not resolved.
I thought this was influenced by the "LC_" environment variables. I have them when I log in as my_user_name but admin doesn't have them when he su's in. He figured out that doing "su my_user_name" keeps his environment but that didn't seem to fix the Java property.
Any ideas?

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Locale in Solaris
It's not a secret anymore!