How do I easily elevate when running a .jar file?

Posted by Merlyn Morgan-Graham on Super User See other posts from Super User or by Merlyn Morgan-Graham
Published on 2011-03-26T01:32:57Z Indexed on 2012/07/04 15:18 UTC
Read the original article Hit count: 224

Filed under:
|
|
|

When trying to run an installer Jar file, I am getting an error saying that write access is denied to create a directory under the Program Files folder.

Right click -> Run as Administrator is not available on Jar files (I assume because it is Java.exe that consumes them - they are not themselves treated as directly executable by the shell).

What is the quickest and simplest way to run a .Jar file with elevation?

I am evaluating this tool to recommend for our dev team, and they will manually install it on their boxes. I'd prefer an option that doesn't require them to type anything.

© Super User or respective owner

Related posts about windows-7

Related posts about java