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?

Hi! Yes, the default Docker image has several versions of Java SDK. It can be manually selected in the "Project Structure" settings: 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: If you would like to avoid manual selection, the "JAVA_HOME" variable can be specified in the devfile or warmup snapshot:

Thank you for the info!


Please sign in to leave a comment.