欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程语言 > java >内容正文

java

成功解决RuntimeError: Java is not installed, or the Java executable is not on system path

发布时间:2025/3/21 java 40 豆豆
生活随笔 收集整理的这篇文章主要介绍了 成功解决RuntimeError: Java is not installed, or the Java executable is not on system path 小编觉得挺不错的,现在分享给大家,帮大家做个参考.


成功解决RuntimeError("Java is not installed, or the Java executable is not on system path")
RuntimeError: Java is not installed, or the Java executable is not on system path

 

 

 

目录

解决问题

解决思路

解决方法


 

 

 

 

 

解决问题

 File "D:\ProgramData\Anaconda3\lib\site-packages\sklearn2pmml\__init__.py", line 245, in sklearn2pmml
    raise RuntimeError("Java is not installed, or the Java executable is not on system path")
RuntimeError: Java is not installed, or the Java executable is not on system path

 

 

 

解决思路

引发运行时错误(“Java没有安装,或者Java可执行文件不在系统路径上”)
运行时错误:没有安装Java,或者Java可执行文件不在系统路径上

 

 

 

解决方法

Java安装下载:https://www.java.com/zh-CN/download/manual.jsp
Jdk安装下载地址:https://www.oracle.com/java/technologies/javase-jdk15-downloads.html

 

 

 

 

 

 

 

 

 

 

 

 

总结

以上是生活随笔为你收集整理的成功解决RuntimeError: Java is not installed, or the Java executable is not on system path的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。