You are providing the absolute path by prep-ending /
in the path. It means root
directory in Unix file system. so, you have to give a relative path of the file from the current directory.You can put files
directory in the root directory of your project folder and use
fileInputStream=new FileInputStream("files/storetime.txt");
So, it will be picked up