Community
Participate
Working Groups
build i1030-0010 Not sure if this is a dup of bug 26620, or it might also be user error. - create main method that prints out the system args public static void main(String[] args) { for (int i = 0; i < args.length; i++) System.out.println(args[i]); } - create a Java app launch config - in the Environment tab, create a new variable called "TWO" with the value "two" - in the Arguments tab, add the following to the program args: one ${env_var:TWO} three - run your app Note that only one and three are printed to the console. It looked like the environment variables are not used in the substitution. Is this the way it is supposed to work? Or should we be seeing "one two three" printed?
A workaround in this case would be to create a new string substitution variable (Preferences > Run/Debug > String Substitution) called TWO with a value of two. Then in your launch configuration arguments write $TWO. *** This bug has been marked as a duplicate of bug 117748 ***