Get the default location for temporary directories - Java File Path IO

Java examples for File Path IO:Directory

Description

Get the default location for temporary directories

Demo Code

public class Main {
  public static void main(String[] args) {
    String default_tmp = System.getProperty("java.io.tmpdir");

    System.out.println(default_tmp);

  }//w ww.j a  va2 s . co  m
}

Related Tutorials