Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jnlp exectue with -D option

 
Clarke Kent
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,



regards,

Clarke
 
Vlado Zajac
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Propetries can be set in jnpl file:



(does the same as -Denv=value for standalone appliactions)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic