Properly set up Java 9 as SDK in Intellij IDEA on Linux due to new folder structure

前端 未结 2 1388
栀梦
栀梦 2020-12-09 15:33

Before you write me off, please consider that neither of these are answers to my question:

  • How to setup SDK in IntelliJ IDEA?
  • How do I change the Inte
2条回答
  •  盖世英雄少女心
    2020-12-09 16:12

    Use Oracle Java instead of OpenJDK for now. You can pull that in through WebUpd8's repository.

    sudo add-apt-repository ppa:webupd8team/java &&
    sudo apt-get update &&
    sudo apt-get install oracle-java9-installer
    

    It doesn't look like this is going to work with OpenJDK, so if you want to play with the latest and greatest Java, this is going to be the way to do it for now. Otherwise, from what I've seen, you've done this correctly and once this gets actually fixed, it will work just fine.

提交回复
热议问题