title: Alternative to Paths in Java 6?
body: <p>I want to retrieve the absolute path to the current directory in Java 6, but cannot use <code>Paths</code>.</p>
  
  <pre><code>String currentDirectory = Paths.get(".").toAbsolutePath().normalize().toString();
  </code></pre>
  
  <p>What is the alternative?</p>