'javac' is not recognized as an internal or external command

前端 未结 8 644
独厮守ぢ
独厮守ぢ 2021-01-13 10:25

I have to convert my Matlab algorithm in Java. For this I\'m using matlab builder ja toolbox, after following all the necessary steps, the build fails and this error is disp

8条回答
  •  感情败类
    2021-01-13 10:59

    • First make sure you have installed jdk and jre, both are installed with the java software development kit. The installation folder is typically C:\Program Files\Java.

    • Now go to Computer > Properties > Advanced system settings in the advanced tab click on Environment Variables

    • In System variables find the variable named Path, in the value of Path you will find a java path like C:\ProgramData\Oracle\Java\javapath, just change it to C:\Program Files\Java\jdk1.x.x_x\bin.

    Hope that helps.

提交回复
热议问题