Question: Setting System Property Value in Eclipse

From: Steve Stephens (s.stephens_at_ieee.org)
Date: 12/18/03


Date: Thu, 18 Dec 2003 10:53:39 GMT

Anyone know how to set a system property value

( -Dproperty=value
Set a system property value. If value is a string that contains spaces, you
must enclose the string in double quotes:
        java -Dfoo="some string" SomeClass )
        on an Eclipse Launch Configuration?VAJ had a TextEditor in the
Program tab of the class properties to do this?-Dfoo="some string" in the
Eclipse program arguments is passed as a program argument.TIA Steve Stephens



Relevant Pages

  • Re: Is this a bug in Java
    ... >Today I tried to convert a string of digits into an integer. ... >static Integer type object. ... As per the JavaDocs: ... there needs to be a System Property of the same name you are ...
    (comp.lang.java.programmer)
  • Re: Integer.getInteger() why there?
    ... > I can create a system property with any name I want that holds whatever ... > converts the returned String to an Integer. ... if there was a class Property, ... static Integer decode ...
    (comp.lang.java.programmer)
  • Regular Expression Conundrum
    ... have a string that I want to take a chunk out and replace it with a ... So I might have app.home as a System property with ... public class EnvRE { ...
    (comp.lang.java.programmer)
  • Re: Question: Setting System Property Value in Eclipse
    ... > Set a system property value. ... If value is a string that contains spaces, ... > Eclipse program arguments is passed as a program argument.TIA Steve Stephens ...
    (comp.lang.java.softwaretools)
  • RE: combo choose 1 or many
    ... Text - Enclose in single or double quotes ' or " ... "Dan @BCBS" wrote: ... if you are building a Where String it would be something like: ...
    (microsoft.public.access.formscoding)