title: How to create a temporary directory/folder in Java?
body: <p>Is there a standard and reliable way of creating a temporary directory inside a Java application? There's <a href="http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4735419" rel="noreferrer">an entry in Java's issue database</a>, which has a bit of code in the comments, but I wonder if there is a standard solution to be found in one of the usual libraries (Apache Commons etc.) ?</p>