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!

ProcessBuilder & JNLP

843802Jul 28 2010 — edited Aug 10 2010
Hi,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 7 2010
Added on Jul 28 2010
3 comments
372 views