-
Bug
-
Resolution: Done
-
Minor
-
8.0.0.Alpha1
-
None
jconsole.sh checks for correct setting of JAVA_HOME and adds libraries from JAVA_HOME to the CLASSPATH.
But at the end, jconsole is called with out path.
So if jconsole is found somewhere else this is used.
Last line shoud be changed from
jconsole -J-Djava.class.path="$CLASSPATH"
to
$JAVA_HOME/bin/jconsole -J-Djava.class.path="$CLASSPATH"
to make sure that libs and bin are used from the same directory.
- relates to
-
WFLY-1902 jconsole.sh fails when JAVA_HOME is not set
- Closed