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 29495 - Execution does not work at all for me :(
Summary: Execution does not work at all for me :(
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-12 09:01 UTC by Jan Jancura
Modified: 2007-09-26 09:14 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 Jan Jancura 2002-12-12 09:01:37 UTC
Build 200212120736
JDK 1.4.1_01

default hello World profile & my new one does not
work too.
writes:
java.lang.NoClassDefFoundError: and
Exception in thread "main" 

to output
Comment 1 Jan Jancura 2002-12-12 10:43:54 UTC
random occurence :))
Comment 2 Jan Becicka 2002-12-12 11:06:28 UTC
It is reproducible for me.

1. Create a new project.
2. Create a Main class:
public class Main {
    public static void main(String[] args) {
      System.out.println("aaa");
    }
}
3. Set build target to Compiled Classes
4. Invoke Run | Run
5. Create a new execution profile:
Type - External execution
Executable class: Main
Build Before startup: Compiled Classes
[x] Set as active execution profile

When the project is executed, only

java.lang.NoClassDefFoundError: and
Exception in thread "main" 

is written to output.
Comment 3 Vitezslav Stejskal 2002-12-12 12:19:10 UTC
It's reproducible and it seems to be caused by spaces in the path to
project file, e.g. when you create project in the default location
which is c:\Documents and Settings\.... on WinOS. When creating
project in e.g. c:\Projects the execution works.
Comment 4 Vitezslav Stejskal 2002-12-12 13:04:31 UTC
fixed.
org/netbeans/modules/java/execution/J2SEExecutor.java, 1.1.2.3
Comment 5 Vitezslav Stejskal 2002-12-12 13:25:46 UTC
It is also merged to prj40_dr2.
Comment 6 Jan Becicka 2003-02-27 12:32:18 UTC
Reporter, could you verify this bug? Thanks
Comment 7 Jan Jancura 2003-02-27 14:55:44 UTC
waw! cool!
Comment 8 Jan Becicka 2003-11-25 14:22:15 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as CLOSED.