This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Passing system properties in from the command line


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]