ashleyj / aura

11 stars 1 forks source link

-D properties aren't working #9

Closed ashleyj closed 8 years ago

ashleyj commented 8 years ago

-D properties should be honoured by final binary (init.c?)

ashleyj commented 8 years ago

-D properties seem to work:

./com.example.HelloWorld/com.example.HelloWorld -rvm:Dos.name="test"
Hello, World
test

java code:

public class HelloWorld {
        public static void main (String[] args) throws Exception {
                System.out.println("Hello, World");
                System.out.println(System.getProperty("os.name"));
        }
}