Skip to content

Commit

Permalink
JAVA_HOME fix try
Browse files Browse the repository at this point in the history
Signed-off-by: Nischal Sharma <[email protected]>
  • Loading branch information
NickSneo committed Aug 20, 2024
1 parent db152d7 commit 34bf436
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,8 @@ build_constantine() {
git config --global --add safe.directory /home/ubuntu/constantine/constantine
export PATH=$(pwd)/nim-2.0.4/bin:$PATH
nimble make_lib
export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64
export PATH=$JAVA_HOME/bin:$PATH
else
export PATH=$HOME/.nimble/bin:$PATH
nimble make_lib
Expand Down
2 changes: 0 additions & 2 deletions native-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.75.0
export PATH=$PATH:$CARGO_HOME/bin
git config --global --add safe.directory /home/ubuntu/secp256r1/besu-native-ec
git config --global --add safe.directory /home/ubuntu/secp256r1/besu-native-ec/openssl
export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64
export PATH=$JAVA_HOME/bin:$PATH
/home/ubuntu/build.sh

0 comments on commit 34bf436

Please sign in to comment.