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.
steps to reproduce: - new project / Maven project - Maven netbeans platform application archetype 1.2.1 - finish - run the app you get: - message window "Cannot find java 1.5 or higher" expected: - the sample app running same issue was reported on the mailing-list in december 2009: http://netbeans.org/projects/platform/lists/dev/archive/2009-12/message/237 JAVA_HOME is correct, all double-checked and verified. java version "1.6.0_18" Java(TM) SE Runtime Environment (build 1.6.0_18-b07) Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode) I'm considering porting an ant/swing app to maven/nb-platform. This is a showstopper for me.
Fixed in 6.9. Closing as a dup of issue 179561. Please, confirm by checking in a daily build. You can download at http://bits.netbeans.org/download/trunk/nightly/latest/ *** This bug has been marked as a duplicate of bug 179561 ***
(In reply to comment #1) > Fixed in 6.9. Closing as a dup of issue 179561. > > Please, confirm by checking in a daily build. You can download at > > http://bits.netbeans.org/download/trunk/nightly/latest/ > > *** This bug has been marked as a duplicate of bug 179561 *** The problem persists if I do the following (Build 201002152000): - new project Maven -> Maven project - Archetypes from local repository - Maven Netbeans Platform Application Archetype (1.2.1) - finish - build main project - run nb-platfrom based application I also get a new warning about maven not finding the branding.nbm artifact. The other similar targets: - new project -> Maven -> Maven NetBeans Platform and - new project Maven -> netbeans-platform-app-archetype (1.3 SNAPSHOT) work fine, but I don't have them listed in nb 6.8, which is the version I use. Product Version: NetBeans IDE Dev (Build 201002152000) Java: 1.6.0_18; Java HotSpot(TM) 64-Bit Server VM 16.0-b13 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
> The problem persists if I do the following (Build 201002152000): Indeed. You have a build from Feb/15. The bug 179561 was fixed on Apr/3.
sorry, I accidentally downloaded m1 instead of latest-build. There'isn a "Maven Netbeans Platform Application Archetype (1.2.1)" anymore in the choice list in (Build 201004200200), so I assume it has been superseded by the "Maven NetBeans Application" template (which works fine). In this case, the issue is solved for me. Thanks.
Indeed, it is exactly as you described. Thanks.