Reputation: 1237
is it possible to invoke .jnlp file from java code?
Example:
Process p = Runtime.getRuntime().exec(...)
Thanx!
Upvotes: 1
Views: 3804
Reputation: 8719
I think you could just try
Runtime.getRuntime().exec("javaws http://host:port/application_name/oyur_jnlp_filename.jnlp")
Try this out...
This will start a browser with your jnlp in it.
Upvotes: 1
Reputation: 8526
The command line for running a jnlp would be $JAVA_HOME/bin/javaws <jnlp file>
.
Upvotes: 0