I am writing an application that creates a Java portlet by the ant batch file with the cmd.exe using a Process object in C#.
When I pass the \"Create\" command to th
I had the same problem and solved it. I'm using 64-bit Windows 7 with 64-bit Java. Setting the compile target in the Configuration Manager to 'x64' solved it. If you use 'any CPU' the build probably falls back to 'x86', which is not working with 64-bit Java. So you need different builds for different machines...