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

前端 未结 9 2129
清歌不尽
清歌不尽 2020-12-23 16:44

I\'ve followed step by step the official Getting Started. I started from a clean linux install and installed everything required as per the \"Building Projects with Native C

9条回答
  •  执笔经年
    2020-12-23 17:09

    All I did is go to my project directory from the cmd (command prompt) I typed java -version.it told me what version it was looking for. so I Installed that version and I changed the path to were the jdk of that version was located .

提交回复
热议问题