Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1902

jconsole.sh fails when JAVA_HOME is not set

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 8.0.0.CR1
    • 8.0.0.Alpha4
    • Scripts

    Description

      In most standard linux distros JAVA_HOME is never set no matter if any JVM is installed or not. This breaks jconsole.sh

      # /usr/share/jbossas/bin/jconsole.sh 
      JAVA_HOME is not set. Unable to locate the jars needed to run jconsole.
      

      jconsole.sh needs to try finding a suitable java installation before failing with an error.

      Attachments

        Issue Links

          Activity

            People

              akostadi1@redhat.com Aleksandar Kostadinov
              akostadi1@redhat.com Aleksandar Kostadinov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: