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.
Product Version: NetBeans IDE Dev (Build 081204) Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133 System: Mac OS X version 10.5.5 running on i386; MacRoman; en_US (nb) It is not possible to run j2se project - just created and typed System.out.println("hello"); to the main method of main class. When I run the project it prints to the output that the Ant is misconfigured and the process is still working (never ends) - see attached screenshot...
Created attachment 74602 [details] Screenshot attached...
The Ant preferences have troubles as visible in the following screenshot...
It works for me. What modules ("Features") have you already installed in IDE, Jaro? Product Version: NetBeans IDE Dev (Build 081204) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13 System: Linux version 2.6.27-10-generic running on i386; UTF-8; en_US (nb)
Created attachment 74606 [details] Screenshot attached...
Created attachment 74609 [details] attaching messages.log
joshis, I tried it with the clearly unzipped ide (and of course clear userdir) now. Then just created j2se project and ran it. The same problem. So that I guess it is Mac specific.
pchytil confirmed the same behavior on Mac OS X so that changing the OS field of this issue accordingly.
I am facing the same problems as juhrik. Attaching thread dump. Product Version: NetBeans IDE Dev (Build 081204) Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133 System: Mac OS X version 10.5.5 running on i386; MacRoman; en_US (nb) Userdir: /Users/petr/.netbeans/dev.erg
Created attachment 74614 [details] thread dump while building j2se project on Mac OS X
Opps. This seems to be caused by the fact that the build runs on JDK 1.6 - e.g. in some cases it produces bytecode not executable on JDK 1.5. It is my mistake that I have not pointed that out. The failure will be gone as soon as we recompile on 1.5, so this is not real bug, just problem of my build server. I am sorry for wasting your time this way.
Anyway I've fixed this particular problem. The compilation of debugger.jpda.ant was wrong: core-main # 04e511f8d02f But still, there may be other symptoms of the "compiled with 1.6, running on 1.5" problem. Better to run on 1.6. PS: I've put the fix to core-main, as it is a general bugfix, unrelated to ergonomics IDE. It will take some time (about one day) to propagate to ergonomics repository.
Integrated into 'main-golden', will be available in build *200812070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/04e511f8d02f User: Jaroslav Tulach <jtulach@netbeans.org> Log: #154749: Not only we need source=1.5, but also the resulting class file shall be executable on 1.5. Adding target=1.5 as well.
Marking as verified.
Works fine in the following build: Product Version: NetBeans IDE Dev (Build 200812150750) Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133 System: Mac OS X version 10.5.6 running on i386; MacRoman; en_US (nb)