I mean, you should have seen what I also got looking for the answer to this question.įollow Arcane Science Lab on WordPress. And as far as I can tell, none of the search engines are capable of bubbling up current information, let alone correct information. The majority of it is old crap from Stack Overflow. I hate searching for technical information on the web, because it is without exception for older (many times far older) software than what you’re currently working with. Once you’ve set up the correct location click OK and go back to editing in the IntelliJ IDE. Clicking that will open a regular folder/file dialog allowing you to pick he location where your specific Java release is located on your Mac. To add a new location, click the red folder on the far right, where you see the help balloon in the screen capture above. In my example I’ve already set up to use Java 11.0.5. Now it’s out in the open, probably because of the shift from Java8 to Java9 and beyond that’s been occurring every six months since Java9 was released Setember 2018. This used to be buried in Other Settings, which is where all those older directions tell you to go. Open the File menu and select Project Structure. Here’s what to do with the latest release of IntelliJ. After looking at six-year-old directions via the web that were mostly right I finally figured it out. When I started to try and use that Java release, IntelliJ couldn’t seem to find it, and I couldn’t seem to configure IntelliJ where to look. IntelliJ IDEA Community Edition 2019.2 on.Once the command is executed, it will ask for confirmation. Java/OpenJDK 11.0.5 LTS release distributed by AdoptOpenJDK using Open Command Prompt as an Administrator and use the command for installation and press enter.I’m currently trying to do some work with:
How to get jdk path in mac how to#
Case in point, how to update a current release of IntelliJ IDEA’s Java/JDK path to an external JDK already installed on your machine. I have a very short fuse when it comes to wading through bad advice found on the web, especially old technical advice.