Javac and java pointing to different environments

前端 未结 5 2140
名媛妹妹
名媛妹妹 2021-02-08 02:15

Please Help, I am trying to run a compiled java class and getting errors but when I try to check my java environments it points different ways as seen below

c:\\         


        
5条回答
  •  广开言路
    2021-02-08 02:47

    I'ts just because of your path, JRE does not contain javac and it contains java, so in your path the JRE must be located before the JDK

提交回复
热议问题