Forum chevron_right Corda 5 – CorDapp Development chevron_right Unsupported curve (secp256k1) when trying to get DP2 sample running

  • Creator
  • #9671
    QA Bot

    Hi everybody,

    I’m working through the instructions on this page and hitting a problem when trying to perform the deployCorda task.

    Specifically, the preconfigured test (MyFirstFlowTest.kt) fails on line 27:

    val aliceVN = simulator.createVirtualNode(aliceHoldingID,

    with: Curve not supported: secp256k1 ( at at at java.base/$Delegate.initialize( at net.corda.simulator.runtime.signing.BaseSimKeyStore.(BaseSimKeyStore.kt:15) at net.corda.simulator.runtime.SimulatedVirtualNodeBase.(SimulatedVirtualNodeBase.kt:22) at net.corda.simulator.runtime.SimulatorDelegateBase.createVirtualNode(SimulatorDelegateBase.kt:46) at net.corda.simulator.Simulator.createVirtualNode(Simulator.kt:48) at com.r3.developers.csdetemplate.MyFirstFlowTest.test that MyFirstFLow returns correct message(MyFirstFlowTest.kt:27) ...

    Now I’m pretty sure this is because my JDK doesn’t support the curve.

    Except… the instructions said to use Azul Zulu 11… and that’s what I’m doing!

    So… is there a specific (higher?) version I should be using? If so, what? Is the project somehow not picking up this setting? If so, what’s the best way to verify exactly which JDK is being used?

Viewing 1 replies (of 1 total)
  • Author
  • #9672
    QA Bot


    Make sure your IntelliJ global gradle setting is set to use the project’s sdk settings rather than picking up whatever the machine’s globally set JDK is

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.

Subscribe to our newsletter to stay up to date on the latest developer news, tools, and articles.