I am new on Mac and needed to use Homebrew in order to install Java and some tools (Java 8, etc.). However, I installed Java 17 without Homebrew and for this reason there are 2 different kind of paths between installed Java versions as shown below:
17.0.4.1 (arm64) "Homebrew" - "OpenJDK 17.0.4.1" /opt/homebrew
/Cellar/openjdk@17/17.0.4.1/libexec/openjdk.jdk/Contents/Home
1.8.0_292 (x86_64) "AdoptOpenJDK" - "AdoptOpenJDK 8" /Library/Java
/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
For this reason, I have some troubles when applying some configuration or settings (as they are not using a standard path).
1. After that, now I am wondering if I really should use Homebrew? Or to standardize the paths, etc. should I install the apps and packages without using Homebrew?
2. If I should use it, then should I install every package and tools using Homebrew?