jenkins 升级后无法启动

Running with Java 8 from D:\jenkins\jre, which is older than the minimum required version (Java 11)

意思是jdk版本太低,至少需要11

 

一 下载并安装Jdk11

https://www.oracle.com/java/technologies/downloads/#java11-windows

 

二 修改jenkins.xml

修改如下,指向我们的Jdk11

<executable>D:\Java\jdk-11.0.18\bin\java.exe</executable>


三 启动Jenkins服务

posted @ 2023-02-20 15:48  正怒月神  阅读(1098)  评论(0编辑  收藏  举报