chinthakad
chinthakad

Reputation: 979

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

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,

Anything that I can do to stop this please.

Upvotes: 3

Views: 1979

Answers (2)

anson
anson

Reputation: 1482

  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

Upvotes: 1

chinthakad
chinthakad

Reputation: 979

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

Upvotes: 0

Related Questions