Access to LANG var from Java programs?

2002-10-07 Thread E.L. Willighagen
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

Re: Access to LANG var from Java programs?

2002-10-07 Thread Ben Burton
But, is there no more direct way of accessing the $LANG var from within the Java program itself? You could try System.getProperty(user.language), but I'm not sure how portable this is, or how well it relates to $LANG (my system returns en and my $LANG is not set). Ben. -- Ben Burton

Re: Access to LANG var from Java programs?

2002-10-07 Thread Francois BOTTIN
--- E.L. Willighagen [EMAIL PROTECTED] a écrit : Hi all, Hi working on internationalizing some OS Java tools, I was wondering how to access bash export variables, one specific being LANG... If I recall correctly, jakarta-ant executes 'set' and then parses the output to populate the

Access to LANG var from Java programs?

2002-10-07 Thread E.L. Willighagen
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

Re: Access to LANG var from Java programs?

2002-10-07 Thread Ben Burton
But, is there no more direct way of accessing the $LANG var from within the Java program itself? You could try System.getProperty(user.language), but I'm not sure how portable this is, or how well it relates to $LANG (my system returns en and my $LANG is not set). Ben. -- Ben Burton

Re: Access to LANG var from Java programs?

2002-10-07 Thread Francois BOTTIN
--- E.L. Willighagen [EMAIL PROTECTED] a écrit : Hi all, Hi working on internationalizing some OS Java tools, I was wondering how to access bash export variables, one specific being LANG... If I recall correctly, jakarta-ant executes 'set' and then parses the output to populate the

.deb files for JAVA 1.4

2002-10-07 Thread J. R. Westmoreland
Where can I get .deb files for JAVA 1.4? J. R. Westmoreland