简体   繁体   中英

javac not recognized command

I installed java JDK and my environment variables are:

JAVA_HOME = C:\Program Files\Java\jdk1.8.0_66
Path = %JAVA_HOME%\bin;etc

Java -version:

java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b18)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b18, mixed mode)

Still, javac is not being recognized

You have installed the runtime only, you need the JDK.

http://www.oracle.com/technetwork/java/javase/downloads/index.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM