File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ The goal of this task is to prepare a basic infrastructure environment comprised
8989 ```
9090 3. Set the JAVA_HOME and PATH environment variables to include the corresponding directories from the extracted JDK binaries.
9191 ```shell
92- export JAVA_HOME=~ /jdk-21.0.7/
93- export PATH=$JAVA_HOME/ bin/:$PATH
92+ export JAVA_HOME=$(ls -t -d "$(pwd)" /jdk*/ | head -n 1)
93+ export PATH=${ JAVA_HOME} bin/:$PATH
9494 ```
9595 **Note:** If you want the above environment variable settings to persist between Cloud Shell sessions, add the definitions to your `~/.bashrc` file.
96963. Make sure that Maven 3.8 or higher exists.
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ JDK_TAR_GZ_INSTALLER="https://download.oracle.com/java/21/latest/jdk-21_linux-x6
2121HELIDON_MP_APP_ZIP=oci-mp-server.zip
2222DEFAULT_PROJECT_PATH=~ /oci-mp
2323SCRIPT_DIR=$( dirname " $0 " )
24+ export TERRAFORM_TFSTATE=${SCRIPT_DIR} /terraform.tfstate
2425# shellcheck disable=SC1091
2526source " ${SCRIPT_DIR} " /get_common.sh
2627
You can’t perform that action at this time.
0 commit comments