This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: Java properties
- To: java-discuss at sources dot redhat dot com
- Subject: Re: Java properties
- From: Jeff Sturm <jsturm at detroit dot appnet dot com>
- Date: Thu, 20 Jul 2000 19:21:51 -0400
- CC: Andrew Zahra <andzahra at nortelnetworks dot com>, Justin Urbanski <urbanski at nortelnetworks dot com>, Peter Nicholson <nichol at nortelnetworks dot com>, Ramkumar Balasubramanyam <rammb at nortelnetworks dot com>
- Organization: AppNet
- References: <4E37592BCD3BD41192CD0000F803957CD9266D@zctwb003.asiapac.nortel.com> <200007202312.QAA28437@ferrule.cygnus.com>
Tom Tromey wrote:
> Andrew> Is there some way to set properties at runtime for executables
> Andrew> built with gcj?
>
> gcj -Dmyproperty=foo --main=... -o program *.o
You can also use gij to set properties at runtime:
gij -Dfoo=bar MyApp
--
Jeff Sturm
jeff.sturm@appnet.com