Buildr doesn't find JAVA_HOME from Intellij -
i have buildr installed on ubuntu , works fine running command line. i've installed buildr plugin intellij idea. can't run commands such compile
ide. gives following message:
/usr/local/bin/buildr compile (in /path/to/project, development) compiling scala-spike compiling scala-spike /path/to/project/target/classes buildr aborted! runtimeerror : forgetting something? java_home not set.
but java_home
is set. command echo $java_home
prints correct path java installed.
make sure passing java_home
while starting idea.sh. try starting idea sh -c "export java_home=/opt/java && $idea/bin/idea.sh"
Comments
Post a Comment