Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 152760
Collapse All | Expand All

(-)/opt/jvmstat/bin/visualgc.orig (-1 / +1 lines)
Lines 15-21 Link Here
15
    ;;
15
    ;;
16
  *)
16
  *)
17
    BIN_DIR=`/usr/bin/dirname "${0}"`
17
    BIN_DIR=`/usr/bin/dirname "${0}"`
18
    JAVA_BIN=`which java`
18
    JAVA_BIN=`java-config-2 --java`
19
    if [ ! -x "$JAVA_BIN" ] ; then
19
    if [ ! -x "$JAVA_BIN" ] ; then
20
      echo "Could not determine java bin directory: set JAVA_HOME and try again"
20
      echo "Could not determine java bin directory: set JAVA_HOME and try again"
21
      exit 1
21
      exit 1

Return to bug 152760