• 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)
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!