mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +00:00
12 lines
300 B
Bash
12 lines
300 B
Bash
if [ -z "$JAVA_HOME" ]; then
|
|
echo "**** Please set JAVA_HOME correctly."
|
|
exit 1
|
|
fi
|
|
|
|
# Switch to folder containing application.
|
|
cd ../images/image-*/DemoBench.app
|
|
|
|
INSTALL_HOME=Contents/PlugIns/Java.runtime/Contents/Home/jre/bin
|
|
mkdir -p $INSTALL_HOME
|
|
cp $JAVA_HOME/jre/bin/java $INSTALL_HOME
|