Deprecated compiling error

前端 未结 4 1935
难免孤独
难免孤独 2020-12-09 11:39

I\'m trying to compile my Java program, however I am getting a \"Deprecated File\" error.

I normally compile the file by typing \"Javac FileName.java\", however I g

4条回答
  •  盖世英雄少女心
    2020-12-09 12:11

    Had the similar issue and setting the PATH to the correct file that contains the JDK worked. For windows, search environnement variables > select edit environnement variables > Enter JAVA_HOME as variable and set the value to the jdk file.

提交回复
热议问题