Using any other JDK installed in the Mac-machine is not recommended, and any issues are unsupported / disregarded, practically the User is responsible on their own for any unforeseen IDE based issues, including code-base compilation, gradle compiler run-time etc. Here's the catch - IntelliJ and Android Studio are both shipped with an Embedded JDK, and it is the only compatible run-time that those two IDEs operate in. `/usr/libexec/java_home` is the quinessential MacOS built-in that can scrape through all Java, JDK installations in `/Library/Java/JavaVirtualMachines` folder, and help setup JAVA_HOME environment variable accordingly. I work as an Android Engineer, and despite 10 years of developing Android Apps on Mac machines using Eclipse, IntelliJ and Android Studio etc, only today I have run into this problem, strangely.
0 Comments
Leave a Reply. |