PermGen memory not set, if JAVA_HOME is set incorrectly or missing

XMLWordPrintable

    • 4.01

      permgen.sh on fails to guess a JAVA_HOME correctly.

      On my installation it is installed the Java binary is symlinked into /usr/bin/java
      with the jdk in /usr/java

      I added the following after the apple guess section of permgen.sh:

      # OpenSolaris test to guess a JAVA_HOME
      if [ -z "$JAVA_HOME" -a -z "$JRE_HOME" ]; then
        if [ -f /usr/bin/java ]; then
          JAVA_HOME="/usr"
        fi
      fi
      

              Assignee:
              Unassigned
              Reporter:
              baerrach
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: