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

jconsole.sh fails when JAVA_HOME is not set

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: