Home > Java > Javagetting Started > body text

The difference between java, javac, javadoc and jar

王林
Release: 2019-11-28 16:09:38
forward
3307 people have browsed it

The difference between java, javac, javadoc and jar

The differences are as follows:

java command: Notifies the virtual machine to run a .class file.

javac command: compile, used to compile .java files into .class files.

java video tutorial recommendation: java teaching video

javadoc command: is used to generate your own API documentation. It extracts class, method, member and other annotations from the program source code to form an API help document that matches the source code.

In other words, as long as you use a specific set of tags as comments when writing a program, after the program is written, the development documentation of the program can be formed at the same time through Javadoc.

jar is installed with the JDK. It is used for packaging in the bin folder under the JDK installation directory. It has many specific parameters. Usually the JAR file is a compressed file and is the same as the common Zip file. File compatible.

Recommended related articles and tutorials: Introduction to java language

The above is the detailed content of The difference between java, javac, javadoc and jar. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!