How to run the jar file

  
on the Windows 7 system The jar file is a packaged file after the java program is exported. It can be run directly on some Linux systems or mobile phone systems. However, most users now use the Win7 system, but under the Win7 system, it is not possible to directly run the jar file. You must borrow third-party software. The following is a small series to explain how to run the jar file under Win7 system.

1. As shown below, this is a standard jar file. In most user systems, its icon will become the compressed package icon. This is because the package is compressed in the current system. Linked up.

2. Download Java SE Development Kit (JDK) (Note that not jre, the following will explain in detail the reasons).

3.jdk installation process is actually very simple, since they are based on win7 64 Wei install installation package. Just click Next to complete the installation.

4. Back to the local directory after installation, right-jar file, select Open, this time you will find that there will be among the list of Open Java (TM) Platform SE option, click on this option here .

5.jar package successfully run up.

The reason why it is not recommended to install jre but install jdk is that jre does not add right-click to open the menu, the user itself may not be able to use the command to run successfully, in this case choose to install jdk Obviously the most suitable.

This way you can run jar files directly under Win7. Jdk this software is not only easy to use, but also a lot of functions, in addition to running the jar file, can also be used in programming development, especially for those java developers, the use of jdk can make your work efficiency greatly improved.

Copyright © Windows knowledge All Rights Reserved