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.
I have a fresh install of Windows XP x86, Apache Ant version 1.7.1 compiled on June 27 2008 Q:\projects\3rdparty\netbeans\main\nbbuild>java -version java version "1.5.0_16" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b02) Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing) NetBeans bootstrap fails, preventing even clean, much less build: Q:\projects\3rdparty\netbeans\main\nbbuild>ant clean Buildfile: build.xml [available] DEPRECATED - <available> used to override an existing property. [available] Build file should not reuse the same property name for different values. -jdk-pre-preinit: -jdk-preinit: -jdk-warn: [echo] Warning: nbjdk.active=${nbjdk.active} or nbjdk.home=C:\Program Files\Java\jdk1.5.0_13 is an invalid Java platform; ignoring and using C:\Progra~1\Java\jdk1.5.0_16 -jdk-presetdef-basic: -jdk-default: -jdk-init: assure-ant: -load-build-properties: bootstrap: BUILD FAILED Q:\projects\3rdparty\netbeans\main\nbbuild\build.xml:92: You need JDK 1.5 to build NetBeans Total time: 0 seconds Q:\projects\3rdparty\netbeans\main\nbbuild>
Created attachment 74107 [details] log from ant
Looks like this is caused by someone hardcoding "jdk1.5.0_13" into a build script. I changed the name of my 1.5 jdk from jdk1.5.0_16 to jdk1.5.0_13 and bootstrap worked again.
Created attachment 74108 [details] command log
Created attachment 74109 [details] command log
[property] Loading Q:\projects\3rdparty\netbeans\main\nbbuild\user.build.properties Setting project property: nbjdk.home -> C:\Program Files\Java\jdk1.5.0_13 says that you defined the location of JDK 5u13 yourself - yet that dir does not exist. Delete or fix this definition.