This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: Passing system properties in from the command line
- To: "Weiqi Gao" <weiqigao at yahoo dot com>, <java at gcc dot gnu dot org>
- Subject: RE: Passing system properties in from the command line
- From: "Anthony Green" <green at redhat dot com>
- Date: Thu, 21 Jun 2001 14:08:52 -0700
- Reply-To: <green at redhat dot com>
Weiqi wrote:
> For the Sun JDK, system properties can be passed in at
> runtime using the 'java -Dname=value Foo' command
> line.
>
> What is the equivalent for a gcj compiled executable?
Set the GCJ_PROPERTIES environment variable.
$ GCJ_PROPERTIES="name=value" Foo
AG