Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Win10 can not open jar file method

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Option 1: open the registry, start-> run (or use the shortcut key WIN+R), type regedit, and make sure

Edit the registry: HKEY_CLASSES_ROOT\ Applications\ javaw.exe\ shell\ open\ command, and modify the data value to ["D:\ Program Files\ Java\ jdk1.6.0_21\ jre\ bin\ javaw.exe"-jar "% 1"] (just add? jar before the original value "% 1").

Select default program: right-click .jar file, open it by-> Select default program-> Browse, and select javaw.exe in bin file under jre.

Plan 2: configure the JDK environment: press win+R, pop up the run window, then enter cmd, jump to the directory of the jar file that needs to be opened in the doc window, and then enter java-jar * .jar to run.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report