Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Create SymbolicLink in Java7
// Link
Path link = Paths.get("link.html");
// Target
Path target = Paths.get("test.html");
try {
// Create SymbolicLink
Files.createSymbolicLink(link, target);
} catch (IOException e) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.