by 9/01/2005 08:35:00 AM 0 comments

Setting system properties in Java Web Start

This is a .jnlp snippet for setting a system property;here we set the timezone:
    <j2se version="1.5+"/>
    <jar href="dist/hooves-prey.jar"/>
    <property name="user.timezone" value="UTC"/>
The property *does* get set, but j2see 1.4.2 ignores it. It works fine with Java 5 though.

Brian Schlining


Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit tempus porttitor. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.