java.io.IOException: Cannot run program "jarsigner": java.io.IOException: error=2, No such file or directory

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");

,
Expert tip

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe

Solutions on the web

via JFrog JIRA by Frederic Simon, 1 year ago
Cannot run program "jarsigner": java.io.IOException: error=2, No such file or directory
via JFrog JIRA by Frederic Simon, 1 year ago
Cannot run program "jarsigner": java.io.IOException: error=2, No such file or directory
via JFrog JIRA by Andrei Komarov, 1 year ago
Cannot run program "jarsigner": error=2, No such file or directory
via Oracle Community by 962028, 1 year ago
Cannot run program "/srv/spl/ccb/CCBDEMO/bin/splcobjrun.sh": java.io.IOException: error=2, No such file or directory
via JFrog JIRA by Aviv Blonder, 4 months ago
Cannot run program "jarsigner": error=2, No such file or directory
via GitHub by qileilove
, 1 year ago
Cannot run program "idevice_id": error=2, No such file or directory
java.io.IOException: Cannot run program "jarsigner": java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:431)
at java.lang.Runtime.exec(Runtime.java:328)
at org.artifactory.addon.webstart.JarSigner.sign(JarSigner.java:64)
at org.artifactory.addon.webstart.JarSigningInterceptor.signJar(JarSigningInterceptor.java:133)
at org.artifactory.addon.webstart.JarSigningInterceptor.onBeforeReturn(JarSigningInterceptor.java:69)
at org.artifactory.addon.webstart.WebstartVirtualRepo.interceptBeforeReturn(WebstartVirtualRepo.java:51)
at org.artifactory.repo.virtual.VirtualRepoDownloadStrategy.getInfo(VirtualRepoDownloadStrategy.java:112)
at org.artifactory.repo.virtual.VirtualRepo.getInfo(VirtualRepo.java:480)
at org.artifactory.engine.DownloadServiceImpl.getInfo(DownloadServiceImpl.java:150)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72)
at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at undefined.$Proxy41.getInfo(Unknown Source)
at org.artifactory.engine.DownloadServiceImpl.callGetInfoInTransaction(DownloadServiceImpl.java:236)
at org.artifactory.engine.DownloadServiceImpl.process(DownloadServiceImpl.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:66)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at undefined.$Proxy41.process(Unknown Source)
at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:112)
at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:191)
at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:128)
at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:113)
at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:91)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:54)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.