Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins JAVA_HOME 7 doesn't look like a JDK directory

I have jenkins installed on a Ubuntu 14.04.1 LTS. I'm trying to configure the jdk and when I type /usr/lib/jvm/java-7-openjdk-amd64 in the JAVA_HOME field, Jenkins complains that it doesn't look like a JDK directory.
Anyone know what might cause this?

like image 464
Casablancais Avatar asked Dec 28 '14 21:12

Casablancais


1 Answers

Problem is the location you are specifying is JRE not JDK (see comments since it doesn't have javac) also we couldn't find javac installed on System so just download fresh JDK and set JAVA_HOME point to there

like image 133
jmj Avatar answered Sep 30 '22 23:09

jmj