Skip to Main Content

Java Programming

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!

Changing the system property java.io.tmpdir

807603Feb 12 2008 — edited Feb 12 2008
We are using System.getProperty("java.io.tmpdir") in our application running at Sun solaris box and it returns the value "var/tmp".Is there any way i can change the system property so that System.getProperty("java.io.tmpdir") returns "/tmp".

I am looking for an option other than System.setProperty("java.io.tmpdir", "/temp");

Thanks and Regards
Biju M

Edited by: itsforme on Feb 12, 2008 12:35 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 11 2008
Added on Feb 12 2008
4 comments
3,114 views