CS244b class project
- Install OpenJDK 21
- Set
JAVA_HOME
- Configure
$PATH
to includeJAVA_HOME
. In your .proflie,export PATH=$JAVA_HOME/bin:$PATH
- Run
./gradlew build
in the rootnami
project. This should install gradle and succeed.
Build the distribution:
./gradlew installDist
To start each of the servers:
app/build/install/app/bin/nami-server configs/p_00.json
app/build/install/app/bin/nami-server configs/p_01.json
app/build/install/app/bin/nami-server configs/p_02.json
To run the client workflow:
app/build/install/app/bin/banking-app Nami configs/client.json
./gradlew spotlessApply
(or equivalently ./gradlew sA
).
https://marketplace.visualstudio.com/items?itemName=JoseVSeb.google-java-format-for-vs-code