电脑上的IntelliJ IDEA有段时间没用了,今天有朋友在相关文章 IntelliJ IDEA 运行你的第一个Java应用程序 中提出问题,我就打开IntelliJ IDEA看看,结果提示以下信息:

The environment variable JAVA_HOME(with the value of xxx) does not point to a valid JVM installation

如下图:

环境变量 JAVA_HOME 的值没有指向可用的JVM安装目录。

解决方法:

右键单击我的电脑》属性》高级系统设置》高级》环境变量

修改 JAVA_HOME 的值为正确的JDK目录

确定,确定 保存设置。

这时再打开 IntelliJ IDEA 一切正常了。

===========文档信息============ 
版权声明:非商用自由转载-保持署名-注明出处 
署名(BY) :testcs_dn(微wx笑) 
文章出处:[无知人生,记录点滴](http://blog.csdn.net/testcs_dn)

The environment variable JAVA_HOME(with the value of xxx) does not point to a valid JVM installation相关推荐

  1. as打开时出现The environment variable JAVA_HOME (with The value of C:\Java\jdk1.8.0_101\bin) does not poin

    as打开时出现The environment variable JAVA_HOME (with The value of C:\Java\jdk1.8.0_101\bin) does not poin ...

  2. 解决Neither the JAVA_HOME nor the JRE_HOME environment variable is defined问题

    问题描述: 在cmd窗口使用 startup 命令启动Tomcat时,出现 Neither the JAVA_HOME nor the JRE_HOME environment variable is ...

  3. maven错误The JAVA_HOME environment variable is not defined correctly

    晚上,当我准备将好的spring boot通过mvn clean package 打包成jar文件上传到linux服务器时,却在打包过程中出现了错误: C:\>mvn -version The ...

  4. Tomcat服务器环境配置--查看bat文件(解决Neither the JAVA_HOME nor the JRE_HOME environment variable is defined问题)

    1. Tomcat环境配置 环境变量配置,博主以为无非就是在系统变量[path]中加上Tomcat目录的bin文件夹路径呗,然后上网一搜,果然就是配置Tomcat的bin目录和lib目录,于是在系统变 ...

  5. pssh批量执行启动tomcat报错:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined

    文章目录 问题描述 问题分析 解决问题 问题描述 我这边一共4台主机,4台主机tomca路径一致.我想想通过pssh命令工具直接将4台主机的tomcat启动,命令如下: [root@hadoop-ma ...

  6. maven 配置(安装)以及遇到的The JAVA_HOME environment variable is not defined correctly.

    1.下载安装maven 你可以去http://maven.apache.org/download.html   下载最新的maven,目前最新版本是maven-3.2.1 选择链接下载压缩包并解压,我 ...

  7. linux安装tomcat Neither the JAVA_HOME nor the JRE_HOME environment variable is defined

    这两天我们的开发机重启了好几次,发现每次重启后我的tomcat总是没有启动. 检查java路径,配置正确,后来拿普通账号启动tomcat时报如下的错: 1 Neither the JAVA_HOME ...

  8. Neither the JAVA_HOME nor the JRE_HOME environment variable is defined

    Centos7.5  启动tomcat报错 报错: Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At ...

  9. jenkins 远程启动tomcat报错:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined

    异常现象: jenkins 远程启动tomcat报错:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined 解决 ...

最新文章

  1. hive中array嵌套map以及行转列的使用
  2. 高通平台android7.1系统显示旋转180度
  3. node+Mysql,数据库时区显示正确,查询时却显示另一个时区
  4. python生成随机数代码_Python中产生随机数
  5. ORA-01172,ORA-01151
  6. [RabbitMQ]队列持久化
  7. 【SDOI2014】数表【莫比乌斯反演】【树状数组】
  8. java调用php session_php读取memcahed java session
  9. 拼的html页面乱,页面分页html拼接
  10. python环境搭建什么意思_如何搭建Python环境
  11. 化解字符串不能超过8000的方法及交叉表的处理
  12. RK3288 开发板 运行android6.0.1 如何通过i2c_detect 侦测i2c 设备
  13. 80.90后新手开网店,经验分享,神马不见得都是浮云!
  14. 对话南科大沈平:在人工智能开源中,高校能扮演什么角色?
  15. 年后创业,该如何选择适合年轻人的小成本创业项目?
  16. 金蝶K3 WISE 15.1金蝶K3 15.1金蝶K3 V15.1 金蝶K3 WISE 15.0金蝶K3 15.0金蝶K3 V15.0 14.3/14.2/14.1/14.0/13.1/13.0 12
  17. Win7卸载亚信杀毒
  18. 达梦查询表空间使用率
  19. 002_旭日X3派初探:TogetherROS安装
  20. 客快物流大数据项目(九十八):ClickHouse的SQL函数

热门文章

  1. ipad分屏功能_iOS13新增哪些实用功能?1分钟了解!
  2. PHP+Mysql服装商城 网上服装购物商城 基于PHP服装商城的系统设计与实现 效果图
  3. python字符串索引局部变量_4. 列表一学完,Python 会一半,滚雪球学 Python【七日打卡】...
  4. 欢迎用手机GPRS访问
  5. 数字孪生——复制同一个你
  6. 解决 pymysql.err.OperationalError: (1054, “Unknown column ‘xxx‘ in ‘where clause‘“)
  7. 每位设计师都应该拥有的50个CSS代码片段
  8. Android wifi sniffer log总结分析
  9. 2.4 javascript2
  10. Qt开发之中国象棋篇(四):棋子移动(上)