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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version
Useful JavaScript development tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment





