Home > Java > Javagetting Started > How to open java .jar

How to open java .jar

爱喝马黛茶的安东尼
Release: 2019-11-11 15:26:31
Original
6648 people have browsed it

How to open java .jar

What is a .jar file? A jar file is a small file project generated by a Java project. It can also be described as a Java compressed package, which encapsulates many Java classes, methods, and variables. How do we open Jar files through Java? Below, the editor will tell you about the operation process of opening a .jar file.

First, after installing the java environment, press the Windows R key and enter "CMD" (case-insensitive) in the pop-up run box.

How to open java .jar

Switch to the directory where the .jar file is located. My .jar file directory is: F:\install.

How to open java .jar

Then enter java -jar ****.jar, **** represents the name of the .jar file to be run.

How to open java .jar

#After pressing the Enter key again, the .jar file will run successfully.

How to open java .jar

php Chinese website, a large number of free Java introductory tutorials, welcome to learn online!

The above is the detailed content of How to open java .jar. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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