'"Eclipse" would like to access files in your Document folder' alerts continuously while running multiple Eclipse instances

Viewed 1158

enter image description here

The OS continuously asking for the above permission while I'm running multiple Eclipse instances.

I have already given the permission and I tried by disabling and enabling the permission several times.

I'm using,

  • macOS Catalina (version: 10.15.3 (19D76))
  • Eclipse IDE for Java Developers (Version: 2019-03 (4.11.0), Build id: 20190314-1200)

Anything that I can do to stop this please.

2 Answers
  1. Goto system preferences > Security & privacy > Full Disk Access > add Eclipse
  2. Restart eclipse & PC

then your java able to get listFiles()

enter image description here

If anyone having this issue, try installing eclipse in the Documents folder. That what I tried and worked for me.

Related