This content has been marked as final. Show 3 replies
Try the current working directory (Java terms this the user.dir) and see if it gets you what you want:
I tried that, the code return my home directory,not the file I double clicked.
Any other idea? Thank you.