Building JDK 1.4.2.13 in Windows

I am trying to build JDK 1.4.2.13 in Windows. I am using Windows XP (instead of NT) and is the only difference from the informaiton given in build instructions document part of JDK 1.4.2.13. I am trying to build a JRE package from the JDK source which is similar like downloaded JRE file.

Here are the problems:

1. When I build the package, it is is not picking up the latest object files from J2SDK 1.4.2.13 but old files that were part of 1.4.2.0 (JDK 1.4.2). Are these new object files supposed to get updated when the JRE is installed on the target machine or they should overwrite the object files in package itself.

2. The package got built but while installing it complained about plugin.jar file being missing. I traced and found that for WIN32 plugin.jar does not get built ie BUILD_PLUGIN sets to false if win32 folder is not there. But this plugin.jar file is present in the downloaded JRE file.

3. I removed custom action for plugin.jar and retried installation. This time it failed with an error of InstallJavaJRERegistrySettings having improper arguments. This API is part of RegUtil dll which I tried with different copies but all returned same error.

4. I removed the above custom action and able to install JRE on the target machine. But it got installed under D:\Program Files\Java\j2re1.4.2 instead of j2re1.4.2.13. I confirmed that the JDK_VERSION property gets a value of 1.4.2 only.

5. java -version returns an error which could be the reason for 'InstallJavaJRERegistrySettings' not getting executed.

How can I get updates for installation files in JDK source.

I had created a message in another link but could not get much help. That link can be accessed in

http://forum.java.sun.com/thread.jspa?threadID=5119418&tstart=0

[1814 byte] By [K_Palema] at [2007-11-26 13:56:23]
# 1
are you using any IDE for build purposes? Are you using ant? what is the error that you get during the build process. Are you sure that your env is setup correctly, meaning, Path, classpath, Java_home, ant_home etc. depending on the tool you are using for the build.♠
kilyasa at 2007-7-8 1:35:53 > top of Java-index,Java Essentials,New To Java...
# 2
I am using VC6 build environment with MKS toolkit. Please let me know which errors you want to know. I found that the build scripts do not stop on plugin.jar file missing.
K_Palema at 2007-7-8 1:35:53 > top of Java-index,Java Essentials,New To Java...