title: The system cannot find the path while createTempFile
body: <p>I get an exception saying 'the system cannot find the path specified' while calling java function <code>createTempFile("test", "test")</code>.
  Tried googling but no luck. 
  Does anyone know from where java gets its default temp path and how can it be not found?
  Windows variables seem to be correct and changing them does not affect java.</p>