java.io.IOException: Cannot run program "/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/javac": java.io.IOException: error=12, Cannot allocate memory

Server Fault | Julio Menendez | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    javac compiler throwing error in CentOS 5.7

    Server Fault | 5 years ago | Julio Menendez
    java.io.IOException: Cannot run program "/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/javac": java.io.IOException: error=12, Cannot allocate memory
  2. 0

    "CreateProcess error=87, The parameter is incorrect" running Java "apt" tool with Ant

    Stack Overflow | 2 weeks ago | Manoj
    java.io.IOException: Cannot run program "C:\Program Files (x86)\Java\jdk1.6.0_14\bin\apt.exe": CreateProcess error=87, The parameter is incorrect
  3. 0

    Cannot run program "/usr/local/cuda/bin/nvcc"[..]Cannot allocate memory

    GitHub | 4 years ago | ender7
    java.io.IOException: Cannot run program "/usr/local/cuda/bin/nvcc" (in directory "."): java.io.IOException: error=12, Cannot allocate memory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to solve "java.io.IOException: error=12, Cannot allocate memory" calling Runtime#exec()?

    Stack Overflow | 8 years ago | Andrea Francia
    java.io.IOException: Cannot run program "ls": java.io.IOException: error=12, Cannot allocate memory
  6. 0

    Exec hadoop from Java, reuse JVM (client-side)?

    Google Groups | 5 years ago | Keith Wiley
    java.io.IOException: Cannot run program "hadoop": java.io.IOException: error=12, Cannot allocate memory

  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=12, Cannot allocate memory

    at java.lang.UNIXProcess.<init>()
  2. Java RT
    Runtime.exec
    1. java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
    2. java.lang.ProcessImpl.start(ProcessImpl.java:81)
    3. java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
    5. java.lang.Runtime.exec(Runtime.java:610)
    5 frames
  3. Ant
    DefaultCompilerAdapter.executeExternalCompile
    1. org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
    2. org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
    3. org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
    4. org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:522)
    4 frames