OpenJDK Runtime Environment (build 1.8.0_161-b14) If Java is installed and available, when running java -v output should look like this: ~>$java -version There're some tricks if saying about CentOS, this is mentioned in official Jenkins tutorial here
Make sure Java is installed (and version is compatible with Jenkins) I had a similar issue on CentOS 7 while a correct version of Java was installed and java -version gave a nice result.Ĭollecting multiple answers from different SO threads I did the following:
Open Jenkins configuration file: sudo vi /etc/init.d/jenkinsįinally, append path to the new java executable (line 16): PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/lib/jvm/java-8-openjdk-amd64/bin/
B1248 led badge software v9.92 download install#
JDK version 8: sudo apt install openjdk-8-jre JDK version 9: sudo apt install openjdk-9-jre To fix the issue manually install Java Runtime Environment: Īug 01 05:39:06 ip-0 jenkins: If you actually have java. Īug 01 05:39:06 ip-0 jenkins: ERROR: No Java executable. Process: 3700 ExecStart=/etc/init.d/jenkins start (code=exited, status=1/FAILURE)Īug 01 05:39:06 ip-0 systemd: Starting LSB: Start Jenkins. Loaded: loaded (/etc/init.d/jenkins bad vendor preset: enabled)Īctive: failed (Result: exit-code) since Tue 05:39:06 UTC 7ms ago