Rohan Maity
05/18/2019, 12:42 PM~/.bashrc
# 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 😶snrostov
05/29/2019, 4:08 PMimage.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)