To program JNI, you need to know where the java is located
I thought /Library/Java/JavaVirtualMachines/
was here, but when I tried ls/Library/Java/JavaVirtualMachines/
in the terminal, the folder was empty.
I don't know where it's placed.
java
Enter the command /usr/libexec/java_home
from the terminal It will show where the java is installed.
© 2024 OneMinuteCode. All rights reserved.