cocos2d吧 关注:2,599贴子:5,363
  • 0回复贴,共1

错误:JAVA_HOME没有在系统环境里面?求如何解决这个打包问题

取消只看楼主收藏回复

Error: Please make sure java is installed and JAVA_HOME is in your environment
at initCocosEnv (C:\CocosCreator\resources\app.asar\editor\core\native-utils.js:1:1892)
at initSettings (C:\CocosCreator\resources\app.asar\editor\core\native-utils.js:1:2492)
at Object.run (C:\CocosCreator\resources\app.asar\editor\core\native-utils.js:1:18141)
at EventEmitter.<anonymous> (C:\CocosCreator\resources\app.asar\editor\init.js:1:11697)
at emitTwo (events.js:106:13)
at EventEmitter.emit (events.js:191:7)
at WebContents.<anonymous> (C:\CocosCreator\resources\electron.asar\browser\api\web-contents.js:209:13)
at emitTwo (events.js:106:13)
at WebContents.emit (events.js:191:7)
用cmd 看了 Java已经安装成功了 对比几次 确认JAVA_HOME(有在安装完成重启电脑) 没有问题。
CocosCreator用的是1.3.2的版本
java的是1.6.0版本
怀疑人生了


1楼2017-02-17 12:04回复