diff options
author | Michael DÜrre <michael.duerre@highstreet-technologies.com> | 2021-01-07 10:03:05 +0100 |
---|---|---|
committer | Ravi Pendurty <ravi.pendurty@highstreet-technologies.com> | 2021-01-29 11:46:14 +0100 |
commit | a3e70a1a48d13193d9f28a2d91089d5b253d3e91 (patch) | |
tree | 26f381c2aebc5e1ca5de05e14a0a6df424aec917 /sdnr/wt/data-provider/provider/java.sh | |
parent | 9e845affab000be46b38223e45f92b590947e892 (diff) |
update common and data-provider
fixes for aluminum
Issue-ID: CCSDK-3076
Signed-off-by: Michael DÜrre <michael.duerre@highstreet-technologies.com>
Change-Id: I5416e3328b067609a8820c8c0d4414d362c65ba2
Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com>
Diffstat (limited to 'sdnr/wt/data-provider/provider/java.sh')
-rwxr-xr-x | sdnr/wt/data-provider/provider/java.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sdnr/wt/data-provider/provider/java.sh b/sdnr/wt/data-provider/provider/java.sh new file mode 100755 index 000000000..26d5aea4b --- /dev/null +++ b/sdnr/wt/data-provider/provider/java.sh @@ -0,0 +1,14 @@ +#!/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 + |