java.io.IOException: Cannot run program "C:\Users\ra m\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\module\android\bootstrap.py": CreateProcess error=193, %1 is not a valid Win32 application

Appcelerator JIRA | Mauro Parra-Miranda | 5 years ago
  1. 0

    h4. Problem Description I tried to create a test module on the Titanium Studio. It was created successfully, when I tried package it as Titanium Module it shows me "Exception Occurred during launch" as error in Studio. I'm attaching the images of my system environment and the error screen I got. h4. Expected Results The module created properly h4. Actual results Failing with an error. h4. Logs When I try to build that in command prompt I got the following error BUILD FAILED C:\Users\ram\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\module\android\bui ld.xml:103: Execute failed: java.io.IOException: Cannot run program "C:\Users\ra m\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\module\android\bootstrap.py": CreateProcess error=193, %1 is not a valid Win32 application at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) at java.lang.Runtime.exec(Runtime.java:593) at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Exec ute.java:862) at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495) at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe cutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.Main.runBuild(Main.java:809) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Caused by: java.io.IOException: CreateProcess error=193, %1 is not a valid Win32 application at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) at java.lang.ProcessImpl.start(ProcessImpl.java:30) at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ... 23 more Total time: 18 seconds Please give me a solution, we are really in emergency situation to create the module Thanks Ramkumar Murugadoss

    Appcelerator JIRA | 5 years ago | Mauro Parra-Miranda
    java.io.IOException: Cannot run program "C:\Users\ra m\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\module\android\bootstrap.py": CreateProcess error=193, %1 is not a valid Win32 application
  2. 0

    h4. Problem Description I tried to create a test module on the Titanium Studio. It was created successfully, when I tried package it as Titanium Module it shows me "Exception Occurred during launch" as error in Studio. I'm attaching the images of my system environment and the error screen I got. h4. Expected Results The module created properly h4. Actual results Failing with an error. h4. Logs When I try to build that in command prompt I got the following error BUILD FAILED C:\Users\ram\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\module\android\bui ld.xml:103: Execute failed: java.io.IOException: Cannot run program "C:\Users\ra m\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\module\android\bootstrap.py": CreateProcess error=193, %1 is not a valid Win32 application at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) at java.lang.Runtime.exec(Runtime.java:593) at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Exec ute.java:862) at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495) at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe cutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.Main.runBuild(Main.java:809) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Caused by: java.io.IOException: CreateProcess error=193, %1 is not a valid Win32 application at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) at java.lang.ProcessImpl.start(ProcessImpl.java:30) at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ... 23 more Total time: 18 seconds Please give me a solution, we are really in emergency situation to create the module Thanks Ramkumar Murugadoss

    Appcelerator JIRA | 5 years ago | Mauro Parra-Miranda
    java.io.IOException: Cannot run program "C:\Users\ra m\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\module\android\bootstrap.py": CreateProcess error=193, %1 is not a valid Win32 application
  3. 0

    cyberduck build error in windows7

    Google Groups | 6 years ago | shashidhar
    java.io.IOException: Cannot run program "svnversion": 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

    Buck doesn't compile on Cygwin

    GitHub | 2 years ago | davido
    java.io.IOException: Cannot run program "gcc": CreateProcess error=5, Access denied
  6. 0

    Permission denied when trying to execute behat in jenkins

    Stack Overflow | 3 years ago | ACNB
    java.io.IOException: Cannot run program "/var/lib/jenkins/jobs/defTest/workspace/bin/behat": error=13, Keine Berechtigung

  1. serious2monkeys 1 times, last 2 weeks ago
  2. Handemelindo 6 times, last 1 month ago
  3. kid 5 times, last 1 month ago
  4. rp 2 times, last 2 months ago
  5. jk 1 times, last 5 months ago
3 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

    CreateProcess error=193, %1 is not a valid Win32 application

    at java.lang.ProcessImpl.create()
  2. Java RT
    Runtime.exec
    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:453)
    5. java.lang.Runtime.exec(Runtime.java:593)
    5 frames
  3. Ant
    UnknownElement.execute
    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.ExecTask.runExecute(ExecTask.java:631)
    5. org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
    6. org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
    7. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    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
    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:390)
    4. org.apache.tools.ant.Target.performTasks(Target.java:411)
    5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    6. org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    8. org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    9. org.apache.tools.ant.Main.runBuild(Main.java:809)
    10. org.apache.tools.ant.Main.startAnt(Main.java:217)
    10 frames
  6. Apache Ant Launcher
    Launcher.main
    1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    2. org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    2 frames