SpencerPark / IJava

A Jupyter kernel for executing Java code.
MIT License
1.07k stars 211 forks source link

Java15编译失败问题 #120

Open liu-runsen opened 3 years ago

liu-runsen commented 3 years ago

Java版本15,是不是不支持15版本

(base) C:\Users\Admin\Downloads\IJava-1.3.0\IJava-1.3.0>java --version
java 15.0.2 2021-01-19
Java(TM) SE Runtime Environment (build 15.0.2+7-27)
Java HotSpot(TM) 64-Bit Server VM (build 15.0.2+7-27, mixed mode, sharing)

注: C:\Users\Admin\Downloads\IJava-1.3.0\IJava-1.3.0\src\main\java\io\github\spencerpark\ijava\magics\dependencies\Maven.java使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':installKernel'.
> java.io.IOException: Cannot run program "python3": CreateProcess error=2, 系统找不到指定的文件。

* 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
See https://docs.gradle.org/4.8.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 3m 29s
3 actionable tasks: 3 executed
uhoefel commented 3 years ago

I doubt that this is related to Java 15. Do you have python3 available in your command line? Sounds like no python is installed.