[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Access to LANG var from Java programs?



Hi all,

working on internationalizing some OS Java tools, I was wondering how to
access bash export variables, one specific being LANG...

The method System.getProperty() seems only to handle things like
"-Dlang=en_EN" as a command line option, and yes, the wrapper could as such 
transfer the $LANG value to the Java program.

But, is there no more direct way of accessing the $LANG var from within the 
Java program itself?

kind regards,

Egon



Reply to: