Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JNLP and Web Start
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JNLP and Web Start
pass parameter bye javaws
mickey hendrix
Greenhorn
Posts: 19
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello...
how can I set a vm paramter like -Dsomevariable for my swing client application that I download by javaws?
Carl Trusiak
Sheriff
Posts: 3341
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
In your JNLP, you add the argument to the application-desc element
<application-desc main-class="biz.patx.Whipsaw"> <argument>somevariable=1234</argument> </application-desc>
I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
Sudeep Agrawal
Ranch Hand
Posts: 34
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Did you try the property tag in the JNLP ?
<property name = "someName" value ="myValue">
the way you can access it is System.getProperty("someName") in the
Java
code .
A wop bop a lu bop a womp bam boom! Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Getting BIT Version of Java Webstart using Javascript
More of a browser question really
Eclipse and javax.jnlp.* library.
Log Garbage Collection in Java Web Start
web start log location
More...