Javac commands and Java commands in eclipse

Javac commands and Java commands in eclipse

1、 Javac command of Eclipse: when eclipse is right When saving a Java (source file) file (shortcut key Ctrl + s), the javac command will be executed. As shown in the figure above, default output folder: the location where clss files are saved.

2、 Eclipse Java command: see the figure above. After selecting the java file, execute the Java application (shortcut key F11) method to run the class file. If the class file is not generated, execute the javac command first, that is, save the java file and then run it.

Thank you for reading, hope to help you, thank you for your support to this site!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>