java.io.IOException: CreateProcess: C:\ant\bin\ant.bat setup.compile error=2

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via openbravo by andy_79
, 1 year ago
CreateProcess: C:\ant\bin\bin\ant.bat setup.compile error=3
via openbravo by ffrodri77
, 1 year ago
CreateProcess: D:\ANT\bin\ant.bat setup.compile error=3
via openbravo by jazzpsp
, 1 year ago
CreateProcess: $\{env.ANT\_HOME\}\bin\ant.bat setup.compile error=2
via openbravo by rebizz
, 1 year ago
Cannot run program "C:\Program Files\apache-ant-1.7.0\lib\bin\ant.bat" (in directory "C:\AppsOpenbravo"): CreateProcess error=3, The system cannot find the path specified
via openbravo by danilomoretto
, 1 year ago
CreateProcess: pg\_restore -i -h localhost -p 5432 -U tad -d openbravo -v -O C:\AppsOpenbravo\backup/DOWNLOAD/TAD.DMP error=2
via openbravo by viking2006
, 1 year ago
CreateProcess: pg\_restore -i -h portatil\_victor -p 5432 -U postgres -d openbravo -v -O C:\AppsOpenbravo\backup/DOWNLOAD/TAD.DMP error=2
java.io.IOException: CreateProcess: C:\ant\bin\ant.bat setup.compile error=2
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:576)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:617)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.tp23.antinstaller.runtime.exe.AntProjectFilter.exec(Unknown Source)
at org.tp23.antinstaller.runtime.ExecInstall.exec(Unknown Source)
at org.tp23.antinstaller.selfextract.NonExtractor.main(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago

Write tip

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