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

Fix shell command that gets java version (uses 2>1)

XMLWordPrintable

    • b01
    • generic
    • generic

        Minor fix in make/linux/makefiles/buildtree.make
                 echo "if ! \$${JAVA_HOME}/bin/java $(JAVA_FLAG) -fullversion 2>1 > /dev/null"; \
        should be
                 echo "if ! \$${JAVA_HOME}/bin/java $(JAVA_FLAG) -fullversion 2>&1 > /dev/null"; \
        (s/2>1/2>&1/), so we send stderr to stdout instead of creating a file named "1". Sorry for missing that last time.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: