Do the below different JDK paths, that result from installation (on Mac) with the given different methods (possibly by any defaults they have), reflect or imply any differences (in functionality, access, configuration, or intended use of the JDK) across the different install mechanisms?
- Even though below details involve openjdk [specifically], my broader intent is not vendor-specific to openjdk.
- (One [tangential] example of a source of my curiosity, is that [Mac default] System Python should not be used by user - instead, user development should only be done with user-installed Python; and [fwiw] those two different Python installs have separate installed paths..)
(I hope I have all of the details correct below... :)
brew install java
- (using [just]
homebrew
) - installs at
/usr/local/Cellar/openjdk/
- (symbolic link created at
/usr/local/opt/openjdk
)
- (symbolic link created at
- (using [just]
brew install --cask adoptopenjdk
- (using
homebrew-cask
) - installs at
/Library/Java/JavaVirtualMachines/adoptopenjdk-<version number>.jdk/
- (using
- installing in/with
IntelliJ IDEA
- installs at
~/Library/Java/JavaVirtualMachines/adoptopenjdk-<version number>.jdk/
- (note difference here [compared to 2^] being under user-home
~
, not root/
)
- (note difference here [compared to 2^] being under user-home
- installs at
I think I know at least the below differences; but are there other relevant differences?
- 2 vs 3 differ on 3 being accessible only to the given
~
current user, while I think 2 is available [system-wide] to all users- I think same difference on 1 vs 3?
- 1 has the (noted^) symbolic link detail