How to get the Temp Directory Path in Java?

Java LogoThe path to the temp directory in Java can be retreived via the sytem property as mentioned below:

System.getProperty("java.io.tmpdir");

Reply

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Back to top