java.io.IOException: Cannot run program "C:/Program Files/Java/jdk1.6.0\bin\java " (in directory "C:\Sun\AppServer\domains\domain1\config"): CreateProcess error= 193, %1 is not a valid Win32 application

Oracle Community | 807581 | 9 years ago
  1. 0

    Unable to start AppServer 9.1

    Oracle Community | 9 years ago | 807581
    java.io.IOException: Cannot run program "C:/Program Files/Java/jdk1.6.0\bin\java " (in directory "C:\Sun\AppServer\domains\domain1\config"): CreateProcess error= 193, %1 is not a valid Win32 application
  2. 0

    maven error while running sonar from hudson job

    Stack Overflow | 4 years ago | yathirigan
    java.io.IOException: Cannot run program "mvn.bat" (in directory "D:\Users\abcd\.hudson\jobs\QA Build Local\workspace\view"): CreateProcess error=2, The system cannot find the file specified
  3. 0

    Better way to do error handling here?

    Google Groups | 7 years ago | laredotornado
    java.io.IOException: Cannot run program "nonexistent": CreateProcess error= 2, The system cannot find the file specified
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem deploying application with jsps

    Google Groups | 7 years ago | Abhinav Lele
    java.io.IOException: Cannot run program "D:\usr\dev\jdk16_12\bin\javac": CreateProcess error=5, Access is denied
  6. 0

    Can't Deploy to App Engine (windows)

    Google Groups | 8 years ago | Robert Cooper
    java.io.IOException: Cannot run program "D:\Java\jdk1.6.0_13\bin \javac.exe": CreateProcess error=87, The parameter is incorrect
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=193, %1 is not a valid Win32 application

    at java.lang.ProcessImpl.create()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:30)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
    4 frames
  3. com.sun.enterprise
    ASLauncher.process
    1. com.sun.enterprise.admin.servermgmt.launch.ASLauncher.executeBackgroundCommand(ASLauncher.java:573)
    2. com.sun.enterprise.admin.servermgmt.launch.ASLauncher.executeCommand(ASLauncher.java:468)
    3. com.sun.enterprise.admin.servermgmt.launch.ASLauncher.process(ASLauncher.java:433)
    3 frames
  4. GlassFish Server Management
    PEInstancesManager.startInstance
    1. com.sun.enterprise.admin.servermgmt.pe.PEInstancesManager.startInstanceAllJava(PEInstancesManager.java:283)
    2. com.sun.enterprise.admin.servermgmt.pe.PEInstancesManager.startInstance(PEInstancesManager.java:160)
    2 frames
  5. com.sun.enterprise
    StartDomainCommand.runCommand
    1. com.sun.enterprise.ee.admin.servermgmt.EEDomainsManager.startDomain(EEDomainsManager.java:471)
    2. com.sun.enterprise.cli.commands.StartDomainCommand.startDomain(StartDomainCommand.java:148)
    3. com.sun.enterprise.cli.commands.StartDomainCommand.runCommand(StartDomainCommand.java:215)
    3 frames
  6. CLI Framework
    CLIMain.main
    1. com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:171)
    2. com.sun.enterprise.cli.framework.CLIMain.main(CLIMain.java:79)
    2 frames