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:
package lucasTest
Your uri declaration is missing the scheme for files (file:///):
file:///
u = new URI("file:///./Lucas.java"); Path p = Paths.get(u);
should work. As an alternative you can try
Path p2 = Paths.get(".", "Lucas.java");