0

I'm currently studying java security on Java tutorial Oracle. I was just wondering, for the following command line arguments, how could I achieve the same purpose, but using NetBeans IDE? What do I have to do with NetBeans to achieve the same effect?

To execute the GetProps application with the default security manager, type the following:

java -Djava.security.manager GetProps

2

1 Answer 1

1

It's a little late but for anyone else who needs the information, right click on your project, select "Properties", click "Run" on the right, and put whatever your command line arguments are, in this case "-Djava.security.manager", under "VM Options". Also, be sure to run your project through "Run Project" (The green arrow) and not "Run File".

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.