Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-D properties aren't working #9

Closed
ashleyj opened this issue Feb 3, 2016 · 1 comment
Closed

-D properties aren't working #9

ashleyj opened this issue Feb 3, 2016 · 1 comment

Comments

@ashleyj
Copy link
Owner

ashleyj commented Feb 3, 2016

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

@ashleyj
Copy link
Owner Author

ashleyj commented Mar 2, 2016

-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"));
        }
}

@ashleyj ashleyj closed this as completed Mar 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant