Gradle Windows上的Corda入门

Gradle Windows上的Corda入门,gradle,intellij-idea,Gradle,Intellij Idea,我正在尝试在Windows上开始使用Corda,并使用以下文档遵循已启动的指南: 我已经下载了所有最新版本(截至19年9月22日)的Git(2.23.0,64位版本)/Java JDK(JDK-8u221-windows-x64.exe)/和最新IntelliJ 然而,我面临以下问题: 当我打开“事件日志”时,我没有看到任何消息事件梯度消息 此外,当我尝试从Intellj>run CordaApps Kotlin运行节点时,会收到以下错误消息: 当我尝试从Git bash终端运行节点时

我正在尝试在Windows上开始使用Corda,并使用以下文档遵循已启动的指南:

我已经下载了所有最新版本(截至19年9月22日)的Git(2.23.0,64位版本)/Java JDK(JDK-8u221-windows-x64.exe)/和最新IntelliJ

然而,我面临以下问题:

  • 当我打开“事件日志”时,我没有看到任何消息事件梯度消息

  • 此外,当我尝试从Intellj>run CordaApps Kotlin运行节点时,会收到以下错误消息:

  • 当我尝试从Git bash终端运行节点时

    Jatin@LAPTOP-16QRBJDJ MINGW64 ~/cordapp-tutorial (release-V3)
    
    $ ./gradlew.bat deployNodes
    Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details
    :java-source:compileJava UP-TO-DATE
    :java-source:processResources UP-TO-DATE
    :java-source:classes UP-TO-DATE
    :java-source:configureCordappFatJar
    :java-source:jar UP-TO-DATE
    :java-source:deployNodes
    Bootstrapping local network in C:\Users\Jatin\cordapp-tutorial\java-source\build\nodes
    Node config files found in the root directory - generating node directories
    Generating directory for Notary
    Generating directory for PartyA
    Generating directory for PartyB
    Generating directory for PartyC
    Nodes found in the following sub-directories: [Notary, PartyA, PartyB, PartyC]
    Waiting for all nodes to generate their node-info files...
    :java-source:deployNodes FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':java-source:deployNodes'.
    > Node in Notary exited with 1 when generating its node-info - see logs in C:\Users\Jatin\cordapp-tutorial\java-source\build\nodes\Notary\logs
    
    * 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
    5 actionable tasks: 2 executed, 3 up-to-date
    
    日志:

    CAPSULE EXCEPTION: Illegal char <"> at index 34: C:\Program Files\Java\jdk1.7.0\bin" (for stack trace, run with -Dcapsule.log=verbose)
    USAGE: <options> corda.jar
    
      Actions:
      capsule.version - Prints the capsule and application versions.
      capsule.modes - Prints all available capsule modes.
      capsule.jvms - Prints a list of all JVM installations found.
      capsule.help - Prints this help message.
    
      Options:
      capsule.mode=<value> - Picks the capsule mode to run.
      capsule.reset - Resets the capsule cache before launching. The capsule to be re-extracted (if applicable), and other possibly cached files will `enter code here`be recreated.
      capsule.log=<value> (default: quiet) - Picks a log level. Must be one of none, quiet, verbose, or debug.
      capsule.java.home=<value> - Sets the location of the Java home (JVM installation directory) to use; If 'current' forces the use of the JVM that launched  the capsule.
      capsule.java.cmd=<value> - Sets the path to the Java executable to use.
      capsule.jvm.args=<value> - Sets additional JVM arguments to use when running the application."
    

    CAPSULE异常:非法字符是否已将Java类路径设置为指向jdk1.8.0_221

    从日志记录来看,jdk似乎是1.7。Corda至少需要8u171版本。请检查类路径和已安装的java版本


    您应该按照Oracle文档中的说明将Java添加到PATH环境变量-“”

    您使用的是哪种Java变体

    如果采用OpenJDK 8,请使用热点JVM,而不是OpenJ9版本


    这里是windows x64的链接,请阅读-总结是,这不是一种理想的解决志愿者问题的方法,可能会对获得答案产生反作用。请不要将此添加到您的问题中。哈弗-您能确认我接下来的步骤是什么吗?如何让这个例子起作用?我已经删除了它。。请告知接下来的步骤是什么?