I have a java program to open a webpage in IE. And so I have this code -
Process p = Runtime.getRuntime().exe(“C:\\Prgram Files\\Internet Explorer\\iexplore.exe” “http://google.com”);
This works fine in Vista when UAC is disabled. The process keeps running until the webpage is closed.
With UAC enabled - it opens 2 IE browsers and immediately reaches the code p.waitFor(); and the process stops.
What changes should be made to make this work properly. I need to have UAC enabled. Any help is much appreciated.