I have an application that gives this error upon launching java.exe: C:\Program Files\Java\jdk1.5.0_12\bin\java.exe is not a valid Win32 application.
All I have to do is touch java.exe with explorer or rename it to java.bla and then name it back and it works.
Does NE1 know what this is happening and maybe how to fix it correctly?
This is a x86 java install on a 32bit XP VM.
So this is Java itself you have packaged and are experiencing the issue or another application packaged with Java?