Hello. The program needs to store its resources in a folder. To do this, it must create it, so the problem is that on my computer the program creates any folder without restrictions, and when running the same program on another computer (win8 and higher), it cannot create any folder due to restrictions on security (as I understand it) windows

How can I get around this limitation? Or where to create a folder so that this restriction does not exist?

  • run the program on behalf of the adminstrator - MrGarison

1 answer 1

Create a folder with resources here:

System.getProperty("user.home") 
  • I did it, I registered the path through user.home, however, this method does not roll on someone else’s computer - lounah
  • @Schepalin why? - Pavel Mayorov