javac cannot be run, and furthermore does not seem installed

前端 未结 4 1256
野性不改
野性不改 2020-12-11 03:11

I have a problem involving setting up Java.

I have installed the JRE, added its path to PATH, and set JAVA_HOME and CLASSPATH.

4条回答
  •  囚心锁ツ
    2020-12-11 03:53

    The JRE is merely the Java Runtime Environment, which includes only the infrastructure needed to run Java programs that are already compiled.

    To compile Java source code using javac, you need the Java Development Kit (JDK).

    On Oracle's Java download page, choose the package labelled "JDK".

提交回复
热议问题