I am stuck at a wall at the beginning of Unit 2 / Java on LC101 Independent Track. When I check my Java version in the terminal I get
“openjdk version “11.0.10” 2021-01-19
OpenJDK Runtime Environment 18.9 (build 11.0.10+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.10+9, mixed mode, sharing)”
so I know that I have Java installed on my computer, I also figured out how to install intelliJ via Youtube but I can not seem to get intelliJ to use the Java that I have installed. Even the initial HelloWorld.java program that I made in VSCode at the beginning of the chapter worked in the terminal so I know I’m not at a total loss here on using Java but I just can’t get it to work in intelliJ
In attempting to setup the home directory I’ve searched in the terminal with whichjava and get “/usr/bin/java” but it won’t let me use that at as a home directory in the IDE. Any help would be greatly appreciated. I am fairly new to Linux distributions in general and I am at a total loss here.
I also followed the intelliJ support instructions under “Selecting the JDK version the IDE will run under” and the IDE just told me that it failed.