Where's java.io.tmpdir?
Different operating systems The directory represented by this system property is also different
On Windows:java.io.tmpdir:[c:\docume~1\joshua\locals~1\temp\]
On solaris:java.io.tmpdir:[/var/tmp/]
On Linux:java.io.tmpdir: [/tmp]
On Mac OS x:java.io.tmpdir: [/tmp]
The default Temporary-file directory is specified by the system property Java.io.tmpdir. On UNIX systems, the default value of this property is typically "/tmp" or "/var/tmp"; On Microsoft Windows Systems It is typically "c:\temp". A different value may given to this system property when the Java Vsan is invoked, but programmatic changes To this property is not a guaranteed to has any effect upon the the temporary directory used by this method.
java.io.tmpdir
to specify the System property, you can invoke the JVM as follows:
Java-djava.io.tmpdir=/path/to/tmpdir
By default this value should come from the TMP
environment variable on Windows systems
Where's java.io.tmpdir?