File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes pass parameter bye javaws Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "pass parameter bye javaws" Watch "pass parameter bye javaws" New topic
Author

pass parameter bye javaws

mickey hendrix
Greenhorn

Joined: May 08, 2005
Posts: 19
Hello...
how can I set a vm paramter like -Dsomevariable for my swing client application that I download by javaws?
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
In your JNLP, you add the argument to the application-desc element


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
Sudeep Agrawal
Ranch Hand

Joined: May 31, 2006
Posts: 34
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 .
 
 
subject: pass parameter bye javaws
 
Similar Threads
Eclipse and javax.jnlp.* library.
Log Garbage Collection in Java Web Start
web start log location
Getting BIT Version of Java Webstart using Javascript
More of a browser question really