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.
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
random occurence :))
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.
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.
fixed. org/netbeans/modules/java/execution/J2SEExecutor.java, 1.1.2.3
It is also merged to prj40_dr2.
Reporter, could you verify this bug? Thanks
waw! cool!
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.