title: Missing scheme (IllegalArgumentException) while using java.nio.file.Paths interface
body: <p>this is a really simple java question. I am using Java 8 with eclipse kepler on a linux system. I've been trying to try out NIO.2. My code is:</p>
  
  <pre><code>package lucasTest;
  import java.io.IOException;
  import java.net.URI;
  import java.net.URISyntaxException;
  import java.nio.file.*;
  
  public class Lucas {
      public static void main(String[] args) throws URISyntaxException{
          URI u = new URI("./Lucas.java");
          Path p = Paths.get(u);  
      }
  }
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>Exception in thread "main" java.lang.IllegalArgumentException: Missing scheme
      at java.nio.file.Paths.get(Paths.java:134)
      at lucasTest.Lucas.main(Lucas.java:10)
  </code></pre>
  
  <p>Please help!</p>
  
  <p>Thanks,
  Lucas</p>