Closed ashleyj closed 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"));
}
}
-D properties should be honoured by final binary (init.c?)