As the title says, I'm checking if a file exists or not with java. The file is stored in
C:\Windows\System32.
If I run the project with Netbeans
, no problem. It returns true.
But if I run the .jar
, it returns false.
I'm admin of the computer, but I don't know which privilege I have when I run the .jar
.
Do you have any idea