Search code examples
javaintellij-ideaterminal

IntelliJ terminal jdk setting


I have a project in IntelliJ Idea that uses jdk 8. In my system I have many jdk installed for development. Every time I create a new terminal window inside IntelliJ, the latest system jdk (jdk 10) is used and not the project one (jdk 8 in this case) and I have to switch manually. Of course I realise the error only after some build which requires jdk 8 does not work properly.

Is there a possibility to set the jdk used in IntelliJ terminal?


Solution

  • I repost the answer of @yole from the comments. It is not possible.