java.io.IOException: CreateProcess: C:\opt\ant\apache-ant-1.6.5\bin\ant.bat -f build.xml clean error=5

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Chris Beams, 1 year ago
CreateProcess: C:\opt\ant\apache-ant-1.6.5\bin\ant.bat -f build.xml clean error=5
via Atlassian JIRA by Chris Beams, 1 year ago
CreateProcess: C:\opt\ant\apache-ant-1.6.5\bin\ant.bat -f build.xml clean error=5
via openbravo by mehdizsoft
, 1 year ago
CreateProcess: $\{env.JAVA\_HOME\}\bin\ java -Xmx512M -classpath C:\OpenbravoERP\AppsOpenbravo\build\classes;C:\Openbrav oERP\AppsOpenbravo\lib\activation.jar;C:\OpenbravoERP\AppsOpenbravo\lib\avalon-f ramework-4.1.5.jar;C:\OpenbravoERP
via openbravo by william_mo
, 1 year ago
CreateProcess: $\{env.JAVA\_HOME\}\bin\java -Xmx512M -classpath C:\OpenbravoERP\AppsOpenbravo\build\classes\src;C:\OpenbravoERP\AppsOpenbravo\lib\activation.jar;C:\OpenbravoERP\AppsOpenbravo\lib\avalon-framework-4.1.5.jar;C:\OpenbravoERP
via openbravo by *anonymous
, 1 year ago
CreateProcess: pg\_restore -i -h localhost -p 5432 -U boxline -d openbravo -v -O C:\AppsOpenbravo\backup/DOWNLOAD/TAD.DMP error=2
via openbravo by lpizarro
, 1 year ago
CreateProcess: pg\_restore -i -h 197.1.1.213 -p 5432 -U tad -d openbravo -v -O C:\AppsOpenbravo\backup/DOWNLOAD/TAD.DMP error=2
java.io.IOException: CreateProcess: C:\opt\ant\apache-ant-1.6.5\bin\ant.bat -f build.xml clean error=5
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
at com.atlassian.bamboo.command.Command.executeCommand(Command.java:53)
at com.atlassian.bamboo.builder.AbstractBuilder.build(AbstractBuilder.java:191)
at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:51)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

Once, 1 month ago
Once, 3 months ago
3 times, 6 months ago
Once, 1 year ago
5 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.