Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6720864

Hotspot makefiles are sensitive to JAVA_HOME env variable

XMLWordPrintable

    • generic
    • generic

        This is a hotspot build issue, not a runtime issue.

        The hotspot makefiles seem to be sensitive to the JAVA_HOME env variable and in my opinion this is a mistake. On some Linux systems this env variable is defined to refer to non Sun jdks, and users often have to set it to run specific java apps. The hotspot makefiles picking it up from the environment seems wrong. The documented VM used to build the hotspot repository/workspace is ALT_BOOTDIR or BOOTDIR and it seems like the hotspot Makefiles should explcitly set JAVA_HOME when it runs it's ./test_gamma, e.g.
           JAVA_HOME=$(BOOTDIR) ./test_gamma

        This is an issue in jdk5, jdk6, and jdk7.

              Unassigned Unassigned
              ohair Kelly Ohair (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: