Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building IoU contract and flow jars #3

Open
trevorsc19 opened this issue May 12, 2023 · 1 comment
Open

Error when building IoU contract and flow jars #3

trevorsc19 opened this issue May 12, 2023 · 1 comment

Comments

@trevorsc19
Copy link

When attempting to build the IoU sample contract and flow jars I received the below error. I'm using Java version "1.8.0_371" and gradle version Gradle 8.1.1

`> Task :buildAll
Building corda-samples

Task :iou-contract:compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':iou-contract:compileJava'.

Could not find tools.jar. Please check that /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home contains a valid JDK installation.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 23s
2 actionable tasks: 2 executed
`

@jimthematrix
Copy link
Contributor

hi @trevorsc19, you have to use specific JDK distros to work with Corda. try getting the zulu openjdk from Azul

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants