I have a Windows Server 2003 with RAD Studio. This setup has unique working environment and couldn’t been update.
But I want to build some solutions from this machine by jenkins. I tried to install agent, but had a problem:
Exception in thread "main" java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher : Unsupported major.minor version 55.0
The latest version of java which I successful installed was 7.80. How can I use jenkins agent in this system?
You need at least java11 for latest LTS Jenkins. The latest weekly of Jenkins already requires java 17.
If you’re not able install a recent java you’re not able to run a jenkins agent there.
So, I understand it, but current version java not supported WS2003
You’ll need to find some other way to run a program on the Windows 2003 computer from a Jenkins agent elsewhere. We’ve seen similar techniques used with devices that have no Java available. The Jenkins administrator finds a way to run a program on the target platform, then uses a Jenkins job to invoke that method.
With Unix computers, the process might be launched by ssh
. With Windows computers, you might try PsiExec as described in a stackoverflow article.