Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-21159

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

    XMLWordPrintable

Details

    Description

      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
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              5cc89cedfcdf baerrach
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: