Hello! I am facing issue in building kotlin langua...
# kontributors
r
Hello! I am facing issue in building kotlin language. I have installed JDK_16, JDK_17, JDK_18, JDK_9. Also this is how I setup environment variables on machine (linux) in
~/.bashrc
Copy code
# Java
export JAVA_HOME="/usr/java/jdk1.8.0_202"
export JDK_16="/usr/java/jdk1.6.0_07"
export JDK_17="/usr/java/jdk1.7.0_80"
export JDK_18="/usr/java/jdk1.8.0_202"
export JDK_9="/usr/java/jdk-9.0.4"
I added these JDKs path to Inteliij Idea's environment variable setting (Settings->Terminal->Enviroment Variable). But when I build project I face this error as in image below. I was Building whole project Update Issue is solved - Previously I checked
auto imports
during import of projects - I directly imported project instead of opening project -> import module from existing sources Couldn't find exactly what went wrong previously though ­čśÂ
s
The
image.png
looks like output from IDEA internal build system (not from Gradle). Check
Preferences | Build, Execution, Deployment | Build Tools | Gradle
,
Build and run using
should be set to
Gradle
. (
Preferences | Build, Execution, Deployment | Build Tools | Gradle | Runner
before Idea 2019.1)