URI url = getClass().getClassLoader().getResource(SshClient.class.getName().replace('.', '/') + ".class").toURI();
URI base = new File(System.getProperty("user.dir")).getAbsoluteFile().toURI();
String path = new File(base.relativize(url).getPath()).getParent() + "/";
path = path.replace('\\', '/');
String real = c.realpath(path + "/foobar");
System.out.println(real);
}
@Test
public void testCreateSymbolicLink() throws Exception {