Skip to Main Content

Java HotSpot Virtual Machine

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!

Picked up _JAVA_OPTIONS

843829Jan 30 2009
Hello;
We are using Solaris as a build machine. But have to set java temp directory per user. So we have added this line to .cshrc file.
setenv JAVAOPTIONS -Djava.io.tmpdir=$HOME/tempdir

This changes temp dir as desired but, this will also shows
Picked up JAVAOPTIONS: Djava.io.tmpdir=..... message at console.
java writes this message to stderr. How can i disable it ?
Because our ant script catch this message, ant thinks there is something wrong. Our build fails.
We dont have a chance to change ant script. I tried everything, but i could not find a solution.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 27 2009
Added on Jan 30 2009
0 comments
1,110 views