JDK-6723762 : Fix shell command that gets java version (uses 2>1)
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-07-08
  • Updated: 2012-10-08
  • Resolved: 2008-07-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u14Fixed 7Fixed hs14Fixed
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.

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/17c572e2697c

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-svc/hotspot/rev/17c572e2697c

EVALUATION Add & character.