05-03-2013 02:54 PM
As soon as my program produces over 100 class files I get the following error: Cannot run program "jar": CreateProcess error=2, The system cannot find the file specified. Is there any way I can increase this limit? My program is only small. There must be way to make it work and still add all the functionality that I need to add. Thank you
Solved! Go to Solution.
05-03-2013 09:15 PM
I have applications with more than 200 class files, so it surprises me that this is a limit that you seem to have hit.
Search for other similar problems that have been reported, for example this one:
05-04-2013 12:53 AM
I've looked at that and the solution simply does not work. I set my environment to add java bin path and it still wouldn't work. I searched my entire computer for the jar.exe and I could not find it. What's the best way to reduce the number of class files without losing any functionality of my program?
05-04-2013 01:46 AM
I got it working. I reinstalled JDK, then set the path in the environment variable, restarted eclipse and it worked. It's still a mystery why it worked before I had 100 classes.