This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When I create a new recipe and execute it, I get the following error: java.util.zip.ZipException: The system cannot find the file specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:112) at java.util.jar.JarFile.<init>(JarFile.java:117) at java.util.jar.JarFile.<init>(JarFile.java:55) Exception in thread "main" This right after an 'upgrade' (ie unzipping in the same directory as the previous dev builds without deleting) as well as when installing in a fresh directory using the installer as well as unzipping in a fresh directory. Iwan
this issue should have been fixed in 3.4. See at #20328 for details. Did you create your own jar executor? or was the jar executor imported from older version? Do you have spaces in your path? or in the recipe name? Please check the menu item Tools/Options -> Execution Types/Jar Execution. If your "External process" property has value {java.home}{/}bin{/}java -jar "{jarfile}" {arguments} (with parenthesis) then please reopen the bug with more details. *** This issue has been marked as a duplicate of 20328 ***
sorry, not the parenthesis are important but the " characters around {jarfile}
I checked the executor type settings and it appears exactly as in your comments. It all happened with a brand new recipe.
do you have the spaces in your path?
No spaces in my CLASSPATH as I make sure that anything that has to do with Java is stored in a space-less path. Also, no spaces in the 'Location' property of the JarPackager. No spaces in the recipe either.
please add steps to reproduce and describe what you do on a clean user directory to get the effects described. I tried on win2000 and win xp with no success.
Works as expected in beta 2, so I would say this issue can be closed.
verified by user
Resolved for 3.4 or earlier, no new info since then -> closing.