Skip to content

Commit

Permalink
Update java command for scouter server
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel-Ha committed Jan 10, 2025
1 parent 0826941 commit 41f3369
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frameworks/Scouter-java/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ function getAgent() {
cd "${BASE_DIR}"
wget https://github.com/scouter-project/scouter/releases/download/v2.20.0/scouter-all-2.20.0.tar.gz
tar -xvzf scouter-all-2.20.0.tar.gz
sed -i 's@java@java --add-opens java.base/java.lang=ALL-UNNAMED --add-exports java.base/sun.net=ALL-UNNAMED @g' "${BASE_DIR}/scouter/server/startup.sh"
cd "${BASE_DIR}"
fi
}
Expand Down

0 comments on commit 41f3369

Please sign in to comment.