0





107
1

I have an application which really should be installed, but does work fine when deployed using JNLP.

However, it would seem that some Java functions such as Runtime.exec don't work using the default security options.

I would like to therefore disable UI functionality that relies upon such functions.

So my question is, how do I detect at runtime whether certain functions are available or not?

The case study, here of course, is Runtime.exec.

Question author Frank-krueger | Source

0


1

You want to ask to the SecurityManager if you have Exec right with the checkExec method.

Answer author Damien-b

Ask about this question here!