java.io.IOException: Cannot run program "keytool" (in directory "/opt/ejbca_ce_6_1_1"): java.io.IOException: error=2, No such file or directory

ejbca | johnmadof | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    EJBCA Community 6.3.1.1 - install error

    ejbca | 2 years ago | johnmadof
    java.io.IOException: Cannot run program "keytool" (in directory "/opt/ejbca_ce_6_1_1"): java.io.IOException: error=2, No such file or directory
  2. 0

    [JENKINS] Lucene-Solr-Tests-4.x-Java7 - Build # 1754 - Failure - Grokbase

    grokbase.com | 9 months ago
    java.io.IOException: Cannot run program "python3" (in directory "/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-Tests-4.x-Java7/lucene"): error=2, No such file or directory
  3. 0

    Build on my arm platform failed | Failed to execute /runtime/target/pthreads-1.0.5 -> error=2, No such file or directory...

    GitHub | 2 years ago | svencc
    java.io.IOException: Cannot run program "/opt/appserver/bin/phpize" (in directory "/home/sven/appserver.io/runtime/target/pthreads-1.0.5"): error=2, No such file or directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 946#172945598

    GitHub | 1 year ago | kkeker
    java.io.IOException: Cannot run program "/opt/appserver/bin/phpize" (in directory "/root/runtime/target/pthreads-2.0.10"): error=2, No such file or directory
  6. 0

    Ant build fails on protobuf

    GitHub | 5 years ago | sshivaji
    java.io.IOException: Cannot run program "protoc": error=2, No such file or directory

  1. PKeidel 3 times, last 3 months ago
  2. serious2monkeys 1 times, last 4 months ago
  3. Handemelindo 6 times, last 5 months ago
  4. kid 5 times, last 5 months ago
  5. rp 2 times, last 5 months ago
4 more registered users
75 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    java.io.IOException: error=2, No such file or directory

    at java.lang.UNIXProcess.<init>()
  2. Java RT
    Runtime.exec
    1. java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
    2. java.lang.ProcessImpl.start(ProcessImpl.java:65)
    3. java.lang.ProcessBuilder.start(ProcessBuilder.java:458)
    4. java.lang.Runtime.exec(Runtime.java:593)
    4 frames
  3. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
    2. org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:426)
    3. org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:440)
    4. org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:629)
    5. org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:670)
    6. org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:496)
    7. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    7 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  5. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    4. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    4 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  7. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
    4. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    4 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  9. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.Target.execute(Target.java:435)
    4. org.apache.tools.ant.Target.performTasks(Target.java:456)
    5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    6. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    7. org.apache.tools.ant.Project.executeTargets(Project.java:1260)
    8. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
    9. org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    10. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    10 frames
  10. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  11. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.Target.execute(Target.java:435)
    4. org.apache.tools.ant.Target.performTasks(Target.java:456)
    5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    6. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    7. org.apache.tools.ant.Project.executeTargets(Project.java:1260)
    8. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
    9. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    9 frames
  12. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  13. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.Target.execute(Target.java:435)
    4. org.apache.tools.ant.Target.performTasks(Target.java:456)
    5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    6. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    7. org.apache.tools.ant.Project.executeTargets(Project.java:1260)
    8. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
    9. org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    10. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    10 frames
  14. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  15. Ant
    Main.startAnt
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.Target.execute(Target.java:435)
    4. org.apache.tools.ant.Target.performTasks(Target.java:456)
    5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    6. org.apache.tools.ant.Project.executeTarget(Project.java:1376)
    7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    8. org.apache.tools.ant.Project.executeTargets(Project.java:1260)
    9. org.apache.tools.ant.Main.runBuild(Main.java:854)
    10. org.apache.tools.ant.Main.startAnt(Main.java:236)
    10 frames
  16. Apache Ant Launcher
    Launcher.main
    1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
    2. org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)
    2 frames