02-21-2011 12:57 PM
I'm getting this infamous error:
I/O Error: Cannot run program "jar": CreateProcess error=2,
the SDK is in my system path, so I thinik it might be because I have more than 100 compiled classes in my project.
Is there any solution besides "Use less classes"?
02-21-2011 01:14 PM
Open up a command prompt and type "jar" in there. If it says it can't find the file you just need to add it to your PATH. For instance, jar.exe is at C:\Program Files\Java\jdk1.6.0_22\bin for me and when I ran into that problem I just put it into the PATH (at the end for me, order did matter because when I put it at the start Eclipse wouldn't run) and then everything was fine.
03-09-2011 03:13 PM
Yup, sorry, forgot to mention that the JAR is in my PATH.
Jar runs fine when I ty'e "jar" in cmd.exe. I'm baffled...