I have setup Jenkins in a linux environment . Installed the JAVA by running
yum install java -y
Now I am unable to find the path of JDK which has to be provided as JAVA_HOME . Whatever path I give ends up in an error.
Inside /usr/lib/jvm I see these files and folders and none is taken by Jenkins
- java-1.8.0-openjdk-1.8.0.171-8.b10.amzn2.x86_64
- jre
- jre-1.8.0
- jre-1.8.0-openjdk
- jre-1.8.0-openjdk-1.8.0.171-8.b10.amzn2.x86_64
- jre-openjdk