Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within IDEs and Version Control
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Other IDEs, Version Control
securityManager in Netbeans?
kelvin cheung
Ranch Hand
Posts: 120
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi.
how can i run a
java
program with security manager?
thanks
Ulf Dittmer
Rancher
Posts: 43081
77
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I don't know about NetBeans, but a command line application can be started like:
java -Djava.security.manager AppName
which will use the default security manager, or:
java -Djava.security.manager=com.abc.MySecMgr AppName
which will use the com.abc.MySecMgr class as security manager. That class must extend java.lang.SecurityManager.
This one time, at bandcamp, I had relations with a tiny ad.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how to use security manager?
security manager
Change SecurityManager in Runtime
Do we need a server-side policy file?
Mutable String
More...