Unity突然出现的JAVA_HOME is not set and no ‘java‘ command could be found in your PATH

某一天,我正在愉快的打包测试,上一秒还能打包,下一秒,然后。。。。打包报错了 。。。。。。。注:我Java环境完全可用的状态下

JAVA_HOME is not set and no 'java' command could be found in your PATH

百度是最好的解决方式:

https://forum.unity.com/threads/java_home-is-not-set-and-no-java-command-could-be-found-in-your-path.740264/

总结一下 : 把下图这块 ,取消勾选,再勾上。也许能解决 (我这么解决的,无语ing。。。)

猜你喜欢

转载自blog.csdn.net/LM514104/article/details/115353405