'Java' is not an internal or external command, operable program or batch file


Complete C language self-study manual (33)

Android multi-resolution framework for adaptation

JavaWeb core technology tutorial series

HTML5 front-end development combat tutorial series

MySQL database gymnastics tutorials (35 graphical version)

And overthrow their own past - Custom View tutorial series (10)

Thinking out of the woods, set foot on the road --Android develop sophisticated Advanced essence record

Android programmers looking to tell the front tutorial series (40 episodes free video tutorials + source code)


Copyright Notice

  • This article original author: Columbia Valley's younger brother
  • On the blog address: http: //blog.csdn.net/lfdfhl

Background

Handsome children's shoes in the Java development environment to build a DOS command window, type java and javac, always reminds:

'java'不是内部或外部命令,也不是可运行的程序或批处理文件

or

'javac'不是内部或外部命令,也不是可运行的程序或批处理文件

After repeatedly checking JAVA_HOME and PATH and CLASSPATH are found wrong place, you can put his head boldly said: configuration environment variable without any problems! Later, the method can be found online and all tried again, still to no avail! ! !

Solutions

Do not use java and javac commands use java.exeand javac.execan be ordered!

Here Insert Picture Description
Here Insert Picture Description
Then open the Eclipse Java development tools can happily write code.

Released 1022 original articles · won praise 1986 · Views 2.38 million +

Guess you like

Origin blog.csdn.net/lfdfhl/article/details/104604783