Gitiles
Code Review
Sign In
gerrit.nordix.org
/
onap
/
ccsdk
/
features
/
80ebbf5b525b1a251f8e0eebd4a841d85716cf65
/
.
/
sdnr
/
wt
/
data-provider
/
provider
/
java.sh
blob: 26d5aea4b5fee1db84856bb5e194cb89edc99208 [
file
] [
log
] [
blame
]
#!/bin/bash
# Java startup helper
# if JAVA_HOME is specified, use related version
echo
"Java run helper"
if
[
!
-
z
"$JAVA_HOME"
]
;
then
echo
"JAVA_HOME=$JAVA_HOME"
$JAVA_HOME
/
bin
/
java
"$@"
else
echo
"Java on path"
java
"$@"
fi