• Post Reply Bookmark Topic Watch Topic
  • New Topic

Symbolic Links in Unix

 
rom chatterjee
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me whether its possible to create symbolic links using Java apis?
Thanks for your help.
Rom
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not in the standard APIs, I'm afraid. This feature isn't inherently portable. Of course, if you know you're on Unix, a java.lang.Runtime.exec() call to ln(1) does what you need to do.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!