I would like to programmatically launch an application (second JVM) from a Java application using JNA.
Please note that I cannot:
- add a Windows manifest to the JVM (minimal impact on the client)
- right-click "runas administrator" (clicking "Allow" in the UAC dialog will be quite complicated)
I saw other questions with answers saying that "use exe", for example Java: run as administrator , but I was wondering if anyone tried this with JNA
source
share