I'm trying to figure out a way to run a Java application with root privileges from an account that doesn't have root privileges. I tried using consolehelper and it will launch other applications as root but when I try using /usr/java/jdk/java -jar /location/app.jar it asks for the root password but doesn't launch the application.
