ProcessBuilder & JNLP
843802Jul 28 2010 — edited Aug 10 2010Hi,
From my Swing application I have to launch another Java application using command java -jar TunnelApp.jar host:port. I am using the ProcessBuilder api to Lauch the application ,Things are going fine when I launched the application as standalone but when I launched using Java WebStrat ProcessBuilder is giving exception Unable to find TunnelApp.jar
Unfortunately I have to Launch TunnelApp.jar as separate Java Application. I cannot spawn a thread from UI application.
Is it possible for JNLP to download TunnelApp.jar eagerly into client machine and I can know the path of downloaded location. If it is possible I can provide the absolute path of TunnelApp.jar to ProcessBuilder.
Please suggest.
Regards
Balaji