[jboss-jira] [JBoss JIRA] (WFLY-1902) jconsole.sh fails when JAVA_HOME is not set

Aleksandar Kostadinov (JIRA) jira-events at lists.jboss.org
Mon Aug 19 15:29:26 EDT 2013


Aleksandar Kostadinov created WFLY-1902:
-------------------------------------------

             Summary: jconsole.sh fails when JAVA_HOME is not set
                 Key: WFLY-1902
                 URL: https://issues.jboss.org/browse/WFLY-1902
             Project: WildFly
          Issue Type: Bug
          Components: Scripts
    Affects Versions: 8.0.0.Alpha4
         Environment: RHEL#/Fedora/Debian RPM
            Reporter: Aleksandar Kostadinov
            Assignee: Brian Stansberry


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

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

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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list