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.

Bug 24909 - [NB 3.4 b1 WinXP, JDK 1.4.0_01] JarPackager doesn't execute
Summary: [NB 3.4 b1 WinXP, JDK 1.4.0_01] JarPackager doesn't execute
Status: CLOSED WORKSFORME
Alias: None
Product: obsolete
Classification: Unclassified
Component: jarpackager (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P1 blocker with 1 vote (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-18 13:51 UTC by javaiware
Modified: 2003-07-01 10:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description javaiware 2002-06-18 13:51:21 UTC
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
Comment 1 Milos Kleint 2002-06-18 14:45:14 UTC
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 ***
Comment 2 Milos Kleint 2002-06-18 14:52:26 UTC
sorry, not the parenthesis are important but the " characters around
{jarfile}
Comment 3 javaiware 2002-06-18 16:52:24 UTC
I checked the executor type settings and it appears 
exactly as in your comments.
It all happened with a brand new recipe.
Comment 4 Milos Kleint 2002-06-18 16:56:44 UTC
do you have the spaces in your path?
Comment 5 javaiware 2002-06-18 17:02:29 UTC
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.
Comment 6 Milos Kleint 2002-06-19 10:31:04 UTC
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.

Comment 7 javaiware 2002-06-24 21:00:37 UTC
Works as expected in beta 2, so I would say this issue can 
be closed.
Comment 8 Milos Kleint 2002-06-25 07:01:17 UTC
verified by user
Comment 9 Quality Engineering 2003-07-01 10:00:28 UTC
Resolved for 3.4 or earlier, no new info since then -> closing.
Comment 10 Quality Engineering 2003-07-01 10:01:42 UTC
Resolved for 3.4 or earlier, no new info since then -> closing.