How to open a. jar format file, how to run the. jar format File

Source: Internet
Author: User

The first time I saw a. jar file I didn't know what the ghost was, thought it was a compressed package, and it was unpacked, but it didn't work. So here's a detailed description of how to open the. jar file and how to run the. jar file. What is a. jar file, simply a Java compact package, can be opened with a Java virtual machine.

Tools/Materials
    • Java JDK
    • . jar Files
Method One
    1. 1

      Before opening the. jar file, make sure that the Java JDK (Java Development Environment) is installed in the computer, press the Windows+r key, enter cmd (case-insensitive) in the Run box that pops up in the lower-left corner, and click OK.

    2. 2

      In the black box that appears, enter Javac, and then hit enter, if it appears, the computer has been installed JDK, or you must first install the JDK to operate, the following links to detailed how to install the Java environment and how to configure the Java environment, you can install the step installation.

      22 How to install the Java environment and how to configure the Java environment

    3. 3

      If the JDK is installed, you can find the. jar file that needs to be opened, right-click the file, select Open With, select Java (TM) Platform SE binary.

    4. 4

      You can open the. jar file normally, for the. jar file that was opened successfully at the next.

      END
Method Two
    1. 1

      Under the condition of installing the Java environment, press the WINDOWS+R key and enter cmd (case insensitive) in the popup Run box. If the Java environment is not installed, the following links explain in detail how to install the Java environment and how to configure the Java environment, you can install the step installation.

      22 How to install the Java environment and how to configure the Java environment

    2. 2

      In the black box that pops up, switch to the directory where the. jar file is located, under the. jar File directory:

      F:\install, so switch to F:\install. :

    3. 3

      Enter Java-jar ****.jar,**** in the black box to indicate the. jar file name to run:

    4. 4

      After hitting the ENTER key, the. jar file starts to run successfully.

      END
Precautions
    • You must install the JDK before running the. jar file.
    • Https://jingyan.baidu.com/article/e8cdb32b2963fc37052bad2f.html

How to open a. jar format file, how to run the. jar format File

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.