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.
[#200412121900, jdk1.4.2_05] To reproduce: ------------- 1) checkout web/jspsyntax module 2) go to: web/jspsyntax/test folde 2) run: 'ant -Dxtest.testtype=qa-functional' ERROR: IDE does not start because the -jdkhome options points into wrong folder: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2 it should be: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home WORKAROUND: Create dummy tools.jar in the .../Home/lib/ folder.
In fact it is a problem in nbbuild/default.xml#setup-jdkhome. I will attach a patch.
Created attachment 19366 [details] Patch tries to find jdkhome in java.home or its parent.
I tested the patch on my Mac OS X, tests execution and building Nb are working.
Applied proposed patch. Checking in default.xml; /cvs/nbbuild/default.xml,v <-- default.xml new revision: 1.14; previous revision: 1.13 done
Thanks.