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
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
JNLP and Web Start
pass parameter bye javaws
mickey hendrix
Greenhorn
Posts: 19
posted 18 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 18 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 18 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 .
Have you no shame? Have you no decency? Have you no tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
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...