File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
JNLP and Web Start
pass parameter bye javaws
Joined: May 08, 2005
May 16, 2006 06:53:00
how can I set a vm paramter like -Dsomevariable for my swing client application that I download by javaws?
Joined: Jun 13, 2000
May 17, 2006 11:06:00
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
Joined: May 31, 2006
Jun 06, 2006 17:26:00
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
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: pass parameter bye javaws
More of a browser question really
Eclipse and javax.jnlp.* library.
Log Garbage Collection in Java Web Start
web start log location
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015