java.io.IOException: Cannot run program "java -jar ~/Documents/Java/myJar.jar": error=2, No such file or directory

Stack Overflow | Aaron | 3 months ago
  1. 0

    Java starting another Java Application

    Stack Overflow | 3 months ago | Aaron
    java.io.IOException: Cannot run program "java -jar ~/Documents/Java/myJar.jar": error=2, No such file or directory
  2. 0

    How to build a Play2 project using play-yeoman from IntelliJ IDEA

    Stack Overflow | 2 years ago
    java.io.IOException: error=2, No such file or directory
  3. 0

    unable to create javafx application .deb pakage for linux.

    Stack Overflow | 2 years ago | Brajendra Pandey
    java.io.IOException: Cannot run program "fakeroot" (in directory "/tmp/fxbundler2581933641178636333/images/linux-deb.image"): error=2, No such file or directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Specify 'PATH' environment does not work when running Gradle 'exec'

    Stack Overflow | 1 year ago | Kane
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':npm'.
  6. 0

    jenkins integration sonar error, Cannot run program "svn" Eorror

    Stack Overflow | 1 year ago | 風一樣的男子
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project bsp-cmts-provider: java.io.IOException: Cannot run program "svn" (in directory "/root/.jenkins/workspace/bsp-cmts"): error=2, No such file or directory
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

    error=2, No such file or directory

    at java.lang.UNIXProcess.forkAndExec()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.UNIXProcess.forkAndExec(Native Method)
    2. java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:134)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    4 frames
  3. com.mycompany.DHSLauncher
    Launcher.lambda$4
    1. com.mycompany.DHSLauncher.Launcher.lambda$4(Launcher.java:109)
    1 frame
  4. Java RT
    Optional.ifPresent
    1. java.util.Optional.ifPresent(Optional.java:159)
    1 frame
  5. com.mycompany.DHSLauncher
    Launcher.start
    1. com.mycompany.DHSLauncher.Launcher.showLogin(Launcher.java:102)
    2. com.mycompany.DHSLauncher.Launcher.start(Launcher.java:35)
    2 frames
  6. com.sun.javafx
    PlatformImpl.lambda$null$173
    1. com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
    2. com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
    3. com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
    3 frames
  7. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  8. com.sun.javafx
    PlatformImpl.lambda$runLater$174
    1. com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
    1 frame
  9. com.sun.glass
    InvokeLaterDispatcher$Future.run
    1. com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    1 frame