解决:Not able to find Java executable or version. Please check your Java installation?

这篇具有很好参考价值的文章主要介绍了解决:Not able to find Java executable or version. Please check your Java installation?。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

首先说说如何解决Not able to find Java executable or version. Please check your Java installation.这个问题吧!

1.其实这个问题很好解决,提示这个信息其实就说明你的jdk安装是有问题的。最简单的方法就是把之前安装的jdk给删掉,或者给卸载掉。

解决:Not able to find Java executable or version. Please check your Java installation?

2.卸载完成之后,重新安装一个jdk,如果没有的话,可以去官网下载。

下载链接:Java Downloads | Oracle

https://download.oracle.com/java/18/latest/jdk-18_windows-x64_bin.exe

这里还可以根据你安装的系统进行选择

解决:Not able to find Java executable or version. Please check your Java installation?

3.下载下来之后,直接双击安装。安装好了之后进入该文件夹。C:\Program Files\Java\jdk-14.0.2

---这里以14为例---

解决:Not able to find Java executable or version. Please check your Java installation?

4.最后配置环境变量,路径:此电脑-属性-高级系统设置-环境变量。

解决:Not able to find Java executable or version. Please check your Java installation?

解决:Not able to find Java executable or version. Please check your Java installation?0

5.编辑用户变量:

1)JAVA_HOME:C:\Program Files\Java\jdk-14.0.2

解决:Not able to find Java executable or version. Please check your Java installation?

2)Path:C:\Program Files\Java\jdk-14.0.2\bin

解决:Not able to find Java executable or version. Please check your Java installation?

6.cmd窗口查看,输入:java -version 

解决:Not able to find Java executable or version. Please check your Java installation?

希望对你有所帮助,谢谢~文章来源地址https://www.toymoban.com/news/detail-442903.html

到了这里,关于解决:Not able to find Java executable or version. Please check your Java installation?的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包赞助服务器费用

相关文章

  • 2023年 Android Studio Unable to find bundled Java version 解决方法

    2023年 Android Studio Unable to find bundled Java version 解决方法

    学习flutter过程中发现 Unable to find bundled Java version 错误 搜索网上的解决方案都不对 最后在 b站 https://www.bilibili.com/video/BV1S4411E7LY?p=17vd_source=d7cf0e2cd70b3cc57314d2efcb598c3d 教程的课件中找到了解决方哦 我的flutter版本 jdk jdk-19.0.2 操作系统 windows11 如果是macOS系统,在jbr同目录下创建一

    2023年04月08日
    浏览(39)
  • vscode 中由于多个go mod 的报错:Error loading workspace: gopls was not able to find modules in your workspac

    vscode 中由于多个go mod 的报错:Error loading workspace: gopls was not able to find modules in your workspac

    在使用go 语言时,由于本人也是新手,对go 包管理相关的历史演进,版本更迭梳理的还不是很清楚,导致环境的搭建遇到很多困恼 以下问题:Error loading workspace: gopls was not able to find modules in your workspac … 该报错为vscode正下方中间可能会出现的一个持续性的报错提示,看起来十

    2024年02月15日
    浏览(10)
  • java中swagger报错:Please indicate a valid Swagger or OpenAPI version field. Supported version fields ar

    java中swagger报错:Please indicate a valid Swagger or OpenAPI version field. Supported version fields ar

    请先看图,是不是和你所遇到的问题一致:  既然你搜索到这个错误问题,应该其它swagger基本配置都已做好了,那么这个错误信息已经提示你了,也给你标记出来了,请选择版本 一个是 swagger 它是 2.0的,另一个是 openapi 它是3.0的,那么你要看下你目前选择的是哪个:

    2024年02月12日
    浏览(7)
  • npm install齐天大坑!!!gyp ERR! find VS msvs_version not set from command line or npm config

    npm install齐天大坑!!!gyp ERR! find VS msvs_version not set from command line or npm config

    1、卸载nodejs重新安装一遍 2、设置淘宝镜像 npm config set registry https://registry.npm.taobao.org 3、安装nodejs所需的环境(Visual Studio XX、python什么鬼的),执行这个命令会自动检测并帮你安装好,npm install --g --production windows-build-tools 4、关键所在!!!执行编译时指定python版本,npm ins

    2024年02月13日
    浏览(9)
  • .Net启动程序报错:It was not possible to find any compatible framework version

    阅文时长 | 0.68分钟 字数统计 | 1092字符 主要内容 | 1、引言背景 2、解决方案 3、声明与参考资料 『.Net启动程序报错:It was not possible to find any compatible framework version』 编写人 | SCscHero 编写时间 | 2021/12/18 PM11:37 文章类型 | 系列

    2024年02月04日
    浏览(9)
  • Stable Diffusion WebUI报错RuntimeError: Torch is not able to use GPU解决办法

    Stable Diffusion WebUI报错RuntimeError: Torch is not able to use GPU解决办法

    新手在安装玩Stable Diffusion WebUI之后会遇到各种问题, 接下来会慢慢和你讲解如何解决这些问题。 在我们打开Stable Diffusion WebUI时会报错如下: RuntimeError: Torch is not able to use GPU;add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check 提示:Python 运行时抛出了一个异常。请

    2024年02月08日
    浏览(16)
  • 解决在Windows安装stable diffusion遇到“Torch is not able to use GPU”的问题

    在Windows上安装stable diffusion的最后一步执行 webui-user.bat 时,提示了错误信息 AssertionError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check 具体错误代码如下: 参考了github上的issue,需要修改 webui-user.bat 文件,具体更改如下: COMMANDLINE_ARGS= an

    2024年02月04日
    浏览(13)
  • Flutter问题记录 - Unable to find bundled Java version

    Flutter问题记录 - Unable to find bundled Java version

    有个紧急问题需要修复,本以为很快就能解决继续休假,没想到项目打开运行后Android端跑不起来了,iOS端正常运行,这就有点莫名其妙,明明放假前还是没问题的,难道我拉取的最新代码有问题?不会吧,谁放假还敲代码啊?🤔️看了下最新的提交记录,还是放假前我提交

    2024年01月16日
    浏览(38)
  • 下载node-gyp依赖包报错:gyp ERR! find VS msvs_version not set from command line or npm config

    下载node-gyp依赖包报错:gyp ERR! find VS msvs_version not set from command line or npm config

    you need to install the lastest version of version of Visual Studio 你需要下载最新的Visual Studio 找到GitHub地址:https://github.com/nodejs/node-gyp 下载Vistual Studio链接:https://visualstudio.microsoft.com/zh-hans/thank-you-downloading-visual-studio/?sku=BuildTools 不要立刻就去选择c++桌面开发,这样下载的会是Vistual Stu

    2024年02月09日
    浏览(14)
  • SD运行 webui-user.bat 报错Torch is not able to use GPU的报错原因及解决办法

    SD运行 webui-user.bat 报错Torch is not able to use GPU的报错原因及解决办法

            首先网上大部分博主讲解的在  launch.py  或者  webui-user.bat 加一个参数  --precision full --no-half --skip-torch-cuda-test  ,加上之后确实不报错了,但是你的显卡也不工作了,CPU进入了AI算法时代,这个方法治标不治本,如果有显卡且拥有4G显存以上的同学,不妨试试我这种

    2024年04月09日
    浏览(11)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包