0 Replies Latest reply: Jul 20, 2009 5:31 AM by 807567 RSS

    Building debuggable JDK jars from JDK sources

    807567
      Hello,

      I want to build the JDK jars (rt.jar, tools.jar, etc.) that contain classes with debug information, from the JDK sources. I found a web page where it detailed several steps, but they were too many and too general for me. My platform is : Linux 2.6.9-78.0.0.0.1.ELsmp #1 SMP i686 i686 i386 GNU/Linux. Can someone tell me some straightforward steps to build these jars. When I run 'gmake sanity' in control/make directory, I get errors like :
      ERROR: You do not have access to the previous java release jre bundles.
      Please check your access to
      /java/re/j2se/1.5.0/archive/fcs/bundles/linux-i586/jdk-1_5_0-linux-i586.tar.gz
      and/or check your value of ALT_PREVIOUS_RELEASE_PATH or ALT_PREVIOUS_JRE_FILE
      This will affect you if you build the images target.
      ERROR: You do not have access to the previous java release sdk bundles.
      Please check your access to

      and/or check your value of ALT_PREVIOUS_RELEASE_PATH or ALT_PREVIOUS_JDK_FILE.
      This will affect you if you build the images target.

      I simply want to know which env variables exactly should I set and to what values. Specific information regarding these will be much appreciated. Thanks.