Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java 7 u45 System.getProperty returns null

user2673605Oct 18 2013 — edited Oct 25 2013

After upgrade to u45, our web launch application stopped working. it failed at System.getProperty("myproperty").

"myproperty" is defined as a

<resources>       

<j2se version="1.6+" initial-heap-size="64m" max-heap-size="256m"/>

       <jar href="nms_wsclient.jar" download="eager" main="true"/>

       <jar href="commons-httpclient.jar" download="eager"/>      

      <jar href="commons-codec.jar" download="eager"/>       

      <jar href="commons-logging.jar" download="eager"/>       

      <jar href="log4j.jar" download="eager"/>       

      <property name="myproperty"   value="http://138.120.128.94:8085/"/>

    </resources>

with older version java ,System.getProperty("myproperty") works fine to return the value, but with u45 it returned null.

Does anyone have the same problem? any idea how to fix it or work around it?

Thanks,

Zhongyao

This post has been answered by martinm1000 on Oct 19 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 22 2013
Added on Oct 18 2013
10 comments
5,833 views