I tried run an ant in my J2ME project, but i found this error: BUILD FAILED: C:\des\crazy\java\build.xml:40: Execute failed: java.io.IOException: CreateProcess: preverify.exe -classpath C:\WTK21\lib\midpapi20.jar -d C:\des\crazy\java\bin\build\preverified C:\des\crazy\java\bin error=2
I am trying preverifies the code, but i don�t know what�s happen.
I verified the CLASSPATH, PATH, JAVA_HOME and others things, but I don�t find the error.
I am using the Eclipse to run and to edit the Ant.
Someone can help me? [ November 24, 2004: Message edited by: Afonso Alcantara ]
Gem Cameron
Greenhorn
Joined: Mar 21, 2006
Posts: 6
posted
0
Hi
I have just had this same problem. You have to ensure the folder where this executable lives is included in your build path. You also need to explicitly define where the executable lives in your build file if it still doesn't work.
For instance my problem: C:\workspace\WayneGrant\build.exe.xml:19: Execute failed: java.io.IOException: CreateProcess: makensis.exe error=2
From this line: <exec executable="makensis.exe"/>
Was fixed by: <project name="NSIS" default="build" basedir="." >