IntelliJ IDEA on spaces fails to find JDK

Just created a new dev environment with IntelliJ support via Jetbrains Gateway, launched a kotlin project in it and got this error:

I've read that the default docker image should have the latest openJdk version, is this a bug?

0
2 comments
Hi! Yes, the default Docker image has several versions of Java SDK. It can be manually selected in the "Project Structure" settings: https://www.jetbrains.com/help/idea/sdk.html#change-project-sdk Our Development team will implement a "logic" that will try to select a Java SDK version based on the project status and Gradle files when Dev Environment was launched with default setup (without custom settings in devfile or without warmup snapshot). Feel free to subscribe to the YT ticket below to receive further updates: https://youtrack.jetbrains.com/issue/RDO-60/Best-guess-environment-if-there-is-no-devfile-or-warm-up-for-the-repo If you would like to avoid manual selection, the "JAVA_HOME" variable can be specified in the devfile or warmup snapshot: https://www.jetbrains.com/help/space/set-up-a-dev-evnvironment.html
0

Thank you for the info!

0

Please sign in to leave a comment.