I tried to install latest stable Jenkins version which supports Java 11. So after installing Java 11(JDK) I got the error from Jenkins that incorrect java version was found.
So uninstalled the Java 11 and tried to install Java 8. While installing java 8, the Jenkins messages incorrect java version
repeatedly was coming. So I completely removed both Java 11(JDK) and Java 8(JDK) and made sure no folders are there in /usr/bin
and /usr/lib/jvm
for both java 11 and java 8. When I installed java 8 the system says JDK 8 installed but im not able to find any java version in my system. Why?
- How to set up the JDK 8 for the Jenkins and make it working? Where to find java version?
- How to remove Jenkins completely from the system if I need to install everything from scratch? Or any way to reset the Linux to a previous state (before java and Jenkins installed)
- How to have/maintain both JDK8 and JDK11 in the system?