Hi, I create a temporary file on the server, that someone uploads. While I was testing, It was fine to use the complete home directory path in my machine. But now that I have to deploy it to a server, I tried using a ~, but I get a
java.io.FileNotFoundException: ~/test/csvFile.csv (No such file or directory)
how do I use something analogous to a ~ ie short for the home directory in *nix. I am using the java.io.File package.
Thanks.