This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: A java DEBUG flag
- To: "Kevin A. Burton" <burton at relativity dot yi dot org>
- Subject: Re: A java DEBUG flag
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Sun, 26 Nov 2000 15:03:11 +1300
- CC: Mark Wielaard <mark at klomp dot org>, java-discuss at sources dot redhat dot com, classpath at gnu dot org
- References: <3A1CA5C4.254DC238@albatross.co.nz> <20001123095240.B32159@klomp.org> <m3lmuaf2zj.fsf@relativity.yi.org>
"Kevin A. Burton" wrote:
> As an asside... I have always wanted a standard place to read java properties
> files instead of having to pass -D to the JVM.
The JDK has a few runtime config files such as font.properties, so we may eventually
want a mechanism like this. Perhaps we should consider generalizing it to extend to
system properties for all applications?
> Maybe we need to have an
> /etc/java.properties file that GJC has to read. Since -D won't work for
> statically compiled apps in GJC maybe this is the better way.
gcj can use -D. You can either compile properties into your executable on the gcj
command line, or use "gij" as a front end to your application and pass a -D argument
there.
regards
[ bryce ]