Javac and java pointing to different environments

前端 未结 5 2070
名媛妹妹
名媛妹妹 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 03:02

    In the PATH variable enter C:\Program Files (x86)\Java\jdk1.6.0_25\bin before the path of system32. It fixed my problem Just make sure java's path is the first path in the "PATH" environment variable

提交回复
热议问题