Here you can find the source of getTempFileDir()
public static File getTempFileDir()
//package com.java2s; //License from project: Apache License import java.io.File; public class Main { /**//from w ww . j a va2 s . c o m * Returns the Ofbiz temporary file directory (for uploaded files, etc). * <p> * Always use this call instead of hardcoding the location, so it can be * changed easily in this central location in the future, if needed. * * @return a File object representing the temp file directory */ public static File getTempFileDir() { return new File(new File(System.getProperty("ofbiz.home"), "runtime"), "tmp"); } }