All Posts by Date or last 15, 30, 90 or 180 days.
also by Lloyd: diglloyd.com photography and WindInMyFace.com
Thank you for purchasing through links and ads on this site.
OWC / MacSales.com...
diglloyd B&H Deal Finder...
Buy other stuff at Amazon.com...
Upgrade the memory of your 2018 Mac mini up to 64GB
877-865-7002
Today’s Deal Zone Items... Handpicked deals...
$12 $12
SAVE $0

$1799 $1349
SAVE $450

$1399 $1049
SAVE $350

$150 $50
SAVE $100

$380 $340
SAVE $40

$489 $389
SAVE $100

$274 $174
SAVE $100

$400 $300
SAVE $100

$699 $499
SAVE $200

$499 $499
SAVE $0

$4500 $3500
SAVE $1000

$1000 $500
SAVE $500

$700 $600
SAVE $100

$1499 $699
SAVE $800

$700 $600
SAVE $100

$1499 $699
SAVE $800

$369 $200
SAVE $169

$1699 $1199
SAVE $500

$649 $449
SAVE $200

$1498 $1198
SAVE $300

$999 $949
SAVE $50

$1099 $999
SAVE $100

$400 $300
SAVE $100

How to Add File/Folder Access Permissions for Java in macOS Catalina

See also How to Add File/Folder Access Permissions in macOS Catalina.

With macOS, Java can be in various places.

When installing a JDK*, it goes into /Library/Java/JavaVirtualMachines. For example, here are two JDKs installed:

diglloyd-MacPro:MPG lloyd$ ls -1 /Library/Java/JavaVirtualMachines/
jdk-13.0.2.jdk
openjdk-13.0.2.jdk

* Using a JDK is prefered, because separate Java runtimes are poorly supported, and are generally old, like Java 8

Adding permissions for Java in macOS Catalina

Adding permissions for Java (e.g., the 'java' executable) is done the same way as for any other application. The only confusing thing is what to add, where.

For a JDK installed in /Library/Java/JavaVirtualMachines, the actual binary 'java' application is found several levels down:

/Library/Java/JavaVirtualMachines/openjdk-13.0.2.jdk/Contents/Home/bin/java

So that’s what needs to be added, as shown below.

Location of java executable on macOS for installed JDK
Giving full disk access to an application in System Preferences => Security & Privacy

Save the tax, we pay you back, instantly!
View all handpicked deals...

Vello Octa Softbox for Portable Flash (Medium, 8")
$12 $12
SAVE $0

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2020 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__