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.
Currently JRE installer installed by JDK installer on Windows is placed to folder which contains build number in its name. It is necessary to customize jdkbundle installer automaticaly when new JDK installer build becomes available. For example folder has name: $COMMON_FILES\Java\Update\Base Images\jdk1.5.0.b64\patch-jdk1.5.0.b64\jre.msi for JDK 1.5.0 FCS. We now move to JDK 1.5.0_01 latest build is b06 now but it is possible it is not last build. New build is loaded automaticaly and without automatization we would need to update installer code every time new JDK installer is available.
Fixed in main trunk. Installer tries to locate jre.msi at runtime so location of jre.msi is not hardcoded. It also means that there are 2 tasks now: 1.JDK installation. 2.JRE installation. It applies only to Windows. Note: It is not fixed in release40 branch so if there will be new build of JDK 1.5.0_01 installer it is necessary to update jdkbundle installer for NB 4.0. Modified: /cvs/installer/jdkbundle/build.xml new revision: 1.6; previous revision: 1.5 /cvs/installer/jdkbundle/src/org/netbeans/installer/InstallJ2sdkAction.java new revision: 1.11; previous revision: 1.10 Added: /cvs/installer/jdkbundle/scripts/custom-install-jdk.template initial revision: 1.1 /cvs/installer/jdkbundle/scripts/custom-install-jre.template initial revision: 1.1 Removed: /cvs/installer/jdkbundle/scripts/custom-install.template new revision: delete; previous revision: 1.4
Issue has been verified in the JDK1.5+NB4.0 bundle build #200502041110 and in the JDK1.5+NB4.1 bundle build #200504181930 under Windows XP SP2