This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
I'm trying to open a file from Java in Ubuntu using FileInputStream.Now my problem is,how can i find the path of the current user as /home/"currentuser"/myfile.xxx?? Normally i use the path as a string since i know the current user.
Regards.