java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.7.0_25\jre\bin\java" (in directory "C:\Workspaces\Automation\runner"): CreateProcess error=206, The filename or extension is too long

jsystemtest | amitwer | 3 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

    The filename or extension is too long

    jsystemtest | 3 years ago | amitwer
    java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.7.0_25\jre\bin\java" (in directory "C:\Workspaces\Automation\runner"): CreateProcess error=206, The filename or extension is too long
  2. 0

    Documentum xCP - Failed to start webby at port 8888

    Stack Overflow | 3 years ago | Miki
    org.eclipse.core.runtime.CoreException: Exception occurred executing command line.
  3. 0

    perforce commit is completely broken in 117.281

    YouTrack | 5 years ago
    com.intellij.openapi.vcs.VcsException: Cannot run program "C:\Program Files\Perforce\p4.exe" (in directory "C:\commander\pre"): CreateProcess error=206, The filename or extension is too long
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    CreateProcess Error 206 when attempting to run JUnit test

    YouTrack | 5 years ago
    com.intellij.compiler.CompilerException: Cannot run program "C:\java\jdk1.7_u3\jre\bin\java": CreateProcess error=206, The filename or extension is too long
  6. 0

    "The filename or extension is too long" error while running JUnit Tests

    YouTrack | 2 years ago
    java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.6.0_43\bin\java" (in directory "C:\Users\jbolle\src\integration\union\union-workflow-host"): CreateProcess error=206, The filename or extension is too long
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

    CreateProcess error=206, The filename or extension is too long

    at java.lang.ProcessImpl.create()
  2. Java RT
    Runtime.exec
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(ProcessImpl.java:376)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:136)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)
    5. java.lang.Runtime.exec(Runtime.java:617)
    5 frames
  3. jsystem.utils.exec
    Execute.execute
    1. jsystem.utils.exec.Execute.execute(Execute.java:57)
    2. jsystem.utils.exec.Execute.execute(Execute.java:21)
    2 frames
  4. jsystem.runner.remote
    ScenarioExecutor.execute
    1. jsystem.runner.remote.RemoteExecutorImpl.run(RemoteExecutorImpl.java:230)
    2. jsystem.runner.remote.ScenarioExecutor.runRound(ScenarioExecutor.java:293)
    3. jsystem.runner.remote.ScenarioExecutor.execute(ScenarioExecutor.java:159)
    3 frames
  5. jsystem.runner.agent
    RunnerEngineImpl.run
    1. jsystem.runner.agent.server.RunnerEngineImpl.run(RunnerEngineImpl.java:254)
    1 frame
  6. jsystem.treeui
    ExecutionWorker.doInBackground
    1. jsystem.treeui.ExecutionWorker.doInBackground(ExecutionWorker.java:48)
    2. jsystem.treeui.ExecutionWorker.doInBackground(ExecutionWorker.java:28)
    2 frames
  7. Java RT
    Thread.run
    1. javax.swing.SwingWorker$1.call(SwingWorker.java:296)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    4. javax.swing.SwingWorker.run(SwingWorker.java:335)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    7. java.lang.Thread.run(Thread.java:724)
    7 frames