File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes jnlp exectue with -D option Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "jnlp exectue with -D option" Watch "jnlp exectue with -D option" New topic

jnlp exectue with -D option

Clarke Kent

Joined: Dec 19, 2005
Posts: 14
How do I specify the jnlp or jar to execute with a -D option?

Im deploying an application from a hosted jnlp on a server. Now when the application starts, it accesses an environment variable set on the client. Now, to access those environment variables, the applications needs to be executed with a -D option,


Vlado Zajac
Ranch Hand

Joined: Aug 03, 2004
Posts: 245
Propetries can be set in jnpl file:

(does the same as -Denv=value for standalone appliactions)
I agree. Here's the link:
subject: jnlp exectue with -D option
jQuery in Action, 3rd edition