简体   繁体   中英

Intellij can't open the folder where my JDK is located

I am trying to install Intellij IDEA Ultimate on a Linux Mint System.

I entered my project structure settings and then clicked the "+" sign and selected JDK.

I went to browse to my /usr/bin folder but I get the following error:

The selected directory is not a valid home for JDK

If I type "whereis java" in terminal I get the following output:

java: /usr/bin/java /usr/share/man/man1/java.1.gz

Do you have any suggestions as to why it won't load that folder or how I can properly setup my JDK?

EDIT: Have also tried directly typing in the path but also fails.

Solved the issue thanks to help from @davedwards.

Download the tar.gz distribution from here . Extract it to a location on your system then CD into the bin folder and launch using ./idea.sh

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM