六月 08, 2023 1:17:46 上午 executable.Main verifyJavaVersion 严重: Running with Java class version 52, which is older than the Minimum required version 55. See https://jenkins.io/redirect/java-support/ java.lang.UnsupportedClassVersionError: 52.0 at executable.Main.verifyJavaVersion(Main.java:145) at executable.Main.main(Main.java:109) Jenkins requires Java versions [17, 11] but you are running with Java 1.8 from /export/server/jdk1.8.0_251/jre java.lang.UnsupportedClassVersionError: 52.0 at executable.Main.verifyJavaVersion(Main.java:145) at executable.Main.main(Main.java:109
时间: 2024-04-06 16:30:10 浏览: 107
根据你提供的信息,这是一个 Java 版本不匹配的错误。你所运行的 Jenkins 要求的 Java 版本应该是 [17,11],但是你运行的 Java 版本是 1.8,低于 Jenkins 要求的最小版本。你需要升级你的 Java 版本到 11 或以上才能解决这个问题。你可以参考 Jenkins 提供的链接 https://jenkins.io/redirect/java-support/ 来获取更多信息。
相关问题
/opt/soft/java/bin/java is not executable
As an AI language model, I'm unable to access your system and analyze why the specified file is not executable. However, here are some possible reasons and solutions:
1. Permissions: Check if the file has executable permissions. You can use the command `ls -l /opt/soft/java/bin/java` to view the permissions. If it doesn't have executable permissions, you can use the command `chmod +x /opt/soft/java/bin/java` to make it executable.
2. Corrupted file: If the file is corrupted, it may not be executable. You can try downloading and installing Java again.
3. Wrong architecture: If the Java version you installed is not compatible with your system architecture, it may not be executable. Make sure you install the correct version for your system.
4. Missing dependencies: Java may have dependencies that are not installed on your system. Try installing the required dependencies.
5. File system error: There may be errors in the file system that prevent the file from being executed. Try running a file system check using the `fsck` command.
阅读全文