stripping .class files of debug info

2002-10-06 Thread Robert Bihlmeyer
As policy requires that all "binaries" (well, it's debatable whether class files fall under this) should be built with debug info and stripped when put into the package, I'd like to know whether there is a tool to strip debugging info from class files. If not, maybe policy and/or java-policy shou

Access to LANG var from Java programs?

2002-10-06 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 $L

Re: Access to LANG var from Java programs?

2002-10-06 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 Burto

stripping .class files of debug info

2002-10-06 Thread Robert Bihlmeyer
As policy requires that all "binaries" (well, it's debatable whether class files fall under this) should be built with debug info and stripped when put into the package, I'd like to know whether there is a tool to strip debugging info from class files. If not, maybe policy and/or java-policy shoul