mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7474:Failed to start MS with java7 version mismatch error
This commit is contained in:
parent
6f7c4863a2
commit
df198d07e1
@ -34,5 +34,8 @@ for vendorconf in "@MSCONF@"/vendor/* ; do
|
||||
CLASSPATH=$vendorconf:$CLASSPATH
|
||||
done
|
||||
export CLASSPATH
|
||||
PATH=/sbin:/usr/sbin:$PATH
|
||||
if [[ ! -d "$JAVA_HOME" && -d /usr/lib/jvm/jre-1.7.0 ]]; then
|
||||
export JAVA_HOME=/usr/lib/jvm/jre-1.7.0
|
||||
fi
|
||||
PATH=$JAVA_HOME/bin:/sbin:/usr/sbin:$PATH
|
||||
export PATH
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user