Cannot start new Jenkins with agent.jar file

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I'm trying to connect VM with Jenkins remote but when I execute this:

      java -jar c:\jenkins\agent.jar -jnlpUrl http://vmname:port/computer/VMHOST/slave-agent.jnlp

      There is error:

       X 22, 2019 5:12:45 PM hudson.remoting.UserRequest perform
      WARNING: LinkageError while performing UserRequest:hudson.node_monitors.SwapSpaceMonitor$MonitorTask@475deef7
      java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
      at com.sun.jna.Structure.setAlignType(Structure.java:280)
      at com.sun.jna.Structure.<init>(Structure.java:197)

       

      I'm using Windows 10 Server and Java 1.8.0.112

            Assignee:
            Jeff Thompson
            Reporter:
            Rumen Angelov
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: