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 28942 - HelloWorld cannot be executed
Summary: HelloWorld cannot be executed
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-22 13:17 UTC by Martin Roskanin
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception has been thrown (10.64 KB, text/plain)
2002-11-22 13:21 UTC, Martin Roskanin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Roskanin 2002-11-22 13:17:11 UTC
Try to execute the default HelloWorld in examples
package in projects build from 20.11.

result:
java.lang.NoClassDefFoundError: examples/HelloWorld
Exception in thread "main"
Comment 1 Martin Roskanin 2002-11-22 13:21:48 UTC
Created attachment 8022 [details]
Exception has been thrown
Comment 2 Svata Dedic 2002-11-22 16:44:28 UTC
Fixed
Comment 3 Svata Dedic 2002-11-22 16:44:52 UTC
Oops, sorry, mistakenly closed another issue than intended.
Comment 4 Svata Dedic 2002-11-22 16:52:37 UTC
Silly question -- did you compile the class (or the project) first ?

Could you please run the ide with "-J-DIDE-Exec=0" and paste here the
output produced to the console ?
Comment 5 Milan Kubec 2002-11-25 08:39:26 UTC
I think that main point of this issue is that SampleProject is not
completly set for instant execution (default build target, java
platform). But it's definitely not P1 IMHO.
Comment 6 Svata Dedic 2002-11-25 08:48:04 UTC
If that is the point then please note that Execution profiles, which
(only recently) include the build-before-run feature are not yet
there; I am waiting for projects team in this area. 
I will set up the default build target in the template.
Comment 7 Milan Kubec 2002-11-25 08:51:40 UTC
I know that, lowering prio to standard P3.
Comment 8 Martin Roskanin 2002-11-25 09:04:31 UTC
Yes, that was the problem. I agree with P3 ;-)
Comment 9 Svata Dedic 2002-12-02 17:42:46 UTC
Fixed -- build before execute is implemented by projects infrastructure.
Please see issue #28908 for remaining problems with first startup.
Comment 10 Jan Becicka 2003-02-27 14:05:14 UTC
Verified
Comment 11 Jan Becicka 2003-11-25 14:24:56 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.