10-13-2011 12:39 AM
my applications works fine for the current code ,but if i add any new function or class in my application code eclipse shows error of
Error: Cannot run program "jar": CreateProcess error=2, The system cannot find the file specified
i searched on forum and google for this problem some solutions are related to java path but myjava path is ok as current code works fine
so what ia problem ?? and whats solution for that ??
Solved! Go to Solution.
10-13-2011 01:03 AM
got solution to problem its need path of .jar file previously i didnt understand why it neede path of jar now its reason is here
12-13-2011 11:12 AM - edited 12-13-2011 11:21 AM
Couple of words on the issue.
I had Eclipse plugin 1.5 installed
I had 1.6 up 29 installed.
Everything was OK until I decided to replace it with up 30.
And then I spend about three hours(!) trying to fix this (CreateProcess error=2) error.
Reinstalled plugin and all related folders two times(!), no luck. PATH was OK.
Eventually returned back to up 29, and I'm OK again !!!!
P.S. BTW, the new version of Eclipse plugin is posted.
12-13-2011 08:45 PM
There is one thing to take into account.
Registry (at least Windows 7) contains three copies of JAVA_HOME !
Make sure that ALL of these are updated properly.
12-16-2011 08:17 AM
Well, in my case the problem was soled when I set 'Compiler compliance level' to 1.3.
'Installed JREs' checked on JRE 7.0