A static agent takes builds then fails `java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher has been compiled by a more recent version of the Java Runtime (class file version 61.0)`
IntermediateTroubleshootingAgents, executors & the queue
Answer
Likely causes → The agent runs an older Java (11 = class file 55) while agent.jar requires Java 17 (61).
Diagnose → java -version on the agent and the Java path used by the launcher (SSH launcher's JavaPath setting).
Fix → Install JDK 17 or 21 on the agent and point the launcher at it; build tools can still use another JDK via tools or JAVA_HOME in the build.
Prevent → Bake agent images/VMs with the supported Java; check before core upgrades.
More on Agents, executors & the queue
Build stuck: `Still waiting to schedule task. ‘Jenkins’ doesn’t have label ‘docker’`Beginner`Waiting for next available executor on ‘linux’` for 20 minutes during peak hoursBeginner`All nodes of label ‘windows’ are offline`Beginner`hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@6e4b:agent-07": Remote call on agent-07 failed. The channel is closing down or has closed down`IntermediateInbound agent fails: `SEVERE: http://jenkins:8080/tcpSlaveAgentListener/ is invalid: 404 Not Found`IntermediateAgent connects but builds fail with `java.io.IOException: Cannot run program "nohup" (in directory "C:\jenkins\workspace\app"): CreateProcess error=2`Beginner