Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Vista/Elevate a Jar

843804Nov 26 2007 — edited Jun 27 2008
I cannot find the exact forum to place this question, so I put it here.

My desktop application on Vista needs to run with elevated permissions. I am not finding a way to run a java -jar application with elevated permissions.

The only advice I have been given is to include an .exe file with those permissions. This causes many difficulties in that any .NET applications I build to accomplish this have to "be installed" including dealing with side by side issues requiring me to run the visual studio redistributables. This requires a lot on the client which is why I do not want to go this route.

How can I run a jar with elevated privileges?

Thanx

Julian
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 25 2008
Added on Nov 26 2007
2 comments
107 views