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 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...
$4500 $3500
SAVE $1000

$1699 $1199
SAVE $500

$6799 $6799
SAVE $0

$249 $249
SAVE $0

$3198 $1798
SAVE $1400

$2799 $2099
SAVE $700

$199 $199
SAVE $0

$1398 $898
SAVE $500

$140 $100
SAVE $40

$699 $549
SAVE $150

$4499 $2649
SAVE $1850

$1699 $1199
SAVE $500

$5999 $5999
SAVE $0

$181 $141
SAVE $40

$7699 $7699
SAVE $0

$4499 $2649
SAVE $1850

$400 $330
SAVE $70

$4499 $2649
SAVE $1850

$2350 $1950
SAVE $400

$1700 $1300
SAVE $400

$200 $160
SAVE $40

$1997 $897
SAVE $1100

$250 $110
SAVE $140

$1199 $1099
SAVE $100

$186 $99
SAVE $87

$3999 $2499
SAVE $1500

$200 $170
SAVE $30

$3999 $2499
SAVE $1500

$1498 $1398
SAVE $100

$2497 $1897
SAVE $600

$748 $598
SAVE $150

$899 $699
SAVE $200

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
View all handpicked deals...

Apple 13.3" MacBook Pro (Mid 2017, Space Gray)
$1699 $1199
SAVE $500

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__