To install Dapp canister, use Motoko code main.mo either on local Dfinity SDK or remote Motoko Playground.
This application requires Java version 1.8.
Modify application.properties file to set canister location and id.
ic.location=https://icp-api.io/
ic.canister=7pon3-7yaaa-aaaab-qacua-cai
Run Gradle build. Modify Java version in the build file if higher than 1.8.
gradle build
Run Java with fat jar
java -jar build/libs/ic4j-sample-helloworld-0.7.0.jar