Closed cassc closed 2 years ago
@cassc Can you re-try build, after forcefully deleting the samples/corda/corda-simple-application/clients/build
directory, using sudo rm -rf
? Some times such issue arise when gradle
is unable clean
i.e. delete the build directory (here it says it is being opened/used by some other process).
Thanks @sanvenDev! I find the problem might be caused by the incompatible JDK version. I downgraded to JDK 8 from 11, restarted from the beginning, now the compilation was success. Though there is still this warning,
OpenJDK 64-Bit Server VM warning: Unable to open cgroup memory limit file /sys/fs/cgroup/memory/memory.limit_in_bytes (No such file or directory)
FYI, Corda only works with Java 8.
Please see the docs for prerequisites: https://labs.hyperledger.org/weaver-dlt-interoperability/docs/external/getting-started/test-network/setup-local#prerequisites (the same prerequisites are listed in other setup pages too.)
thanks, I think corda only works with oracle jdk 8.
I was following the tutorial and got the
Unable to delete directory
error when trying to buildcorda-simple-application