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 31684 - Cannot execute Main class
Summary: Cannot execute Main class
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: -S1S-
Hardware: All All
: P2 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-05 11:03 UTC by Jan Becicka
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

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 Jan Becicka 2003-03-05 11:03:07 UTC
java.lang.NoClassDefFoundError: /Main
Exception in thread "main"
Comment 1 Marian Mirilovic 2003-03-05 11:15:05 UTC
Reproducible on [s1s_5](030304_1).

Comment 2 Svata Dedic 2003-03-05 11:24:13 UTC
It's in JavaProcessExecutor (=> reassigning to Java), an oversight
introduced when removing ExecInfo dependency. The bug only occurs when
the class being executed resides in the default package => P2
Comment 3 Svata Dedic 2003-03-05 13:08:20 UTC
Fixed in both trunk & nb-3.5 (the fix is trivial): 
/cvs/java/src/org/netbeans/modules/java/JavaProcessExecutor.java,v  
<--  JavaProcessExecutor.java 
new revision: 1.11; previous revision: 1.9 
 
/cvs/java/src/org/netbeans/modules/java/JavaProcessExecutor.java,v  
<--  JavaProcessExecutor.java 
new revision: 1.8.2.2; previous revision: 1.8.2.1 
 
Comment 4 Jan Becicka 2003-03-10 14:52:58 UTC
VERIFIED