当前位置:网站首页>Window10 jar double click to run without response
Window10 jar double click to run without response
2022-06-30 04:31:00 【A fat man】
java The environment variables are clearly configured . But double click xx.jar file , It just can't be opened and run directly .
The first solution : function cmd.exe,cd To jar Catalog , perform javaw -jar xxx.jar.xxx.jar Is the file I want to execute . So you can run .
The analysis reason , Should be jar The file opening method is associated with other software opening methods , Just like any file, we can open it with Notepad , But you can't see a picture when you open it with Notepad . So our solution is to change the default opening method . Is to modify the registry .
resolvent
1. Open the registry ( Start -> Run or WIN+R, Input regedit, determine );
2. find HKEY_CLASSES_ROOT\Applications\javaw.exe\shell\open\command—— Default ( left-click )—— Right click ( modify )
3. Get into HKEY_CLASSES_ROOT/Applications/javaw.exe/shell/open/command, Modify the default key value to “D:/Program Files/Java/jre/bin/java.exe” -jar “%1” .
java The environment installed in other places is similar .
Double click jar File is ready to run
边栏推荐
- FortiGate firewall and Aruze cloud tunnel interruption
- lego_ Reading and summary of loam code
- 进程间通信之匿名管道
- 2021-07-14
- Memorize unfamiliar words at SSM stage and update them from time to time
- Slam mapping, automatic navigation and obstacle avoidance based on ROS (bingda robot)
- Es2016 key summary
- Knowledge - how to build rapport in sales with 3 simple skills
- Thinkphp5 implements import function
- How the FortiGate firewall rejects a port by using the local in policy policy
猜你喜欢

A solution to the problem of "couldn't open file /mnt/repodata/repomd.xml"

Anonymous pipeline for interprocess communication

With the deep integration of cloud platform, the "Xueba" objectscale in the object storage industry is coming
![Blue Bridge Cup: magic cube rotation [Vocational group]](/img/ba/aeae2744f3aaa1052b5af452f990e2.jpg)
Blue Bridge Cup: magic cube rotation [Vocational group]
![[FPGA] IIC读写EEPROM 的实现](/img/6a/36e9355058a90d98cffafcbaa1930b.png)
[FPGA] IIC读写EEPROM 的实现

Day 10 data saving and loading

Educoder group purchase suspension box page production

Basic knowledge of redis

File system and directory operations

An error occurs when sqlyog imports the database. Please help solve it!
随机推荐
Slam mapping, automatic navigation and obstacle avoidance based on ROS (bingda robot)
Read / write lock example
Threejs实现模拟河流,水面水流,水管水流,海面
File system and directory operations
Es2018 key summary
Knowledge - how to build rapport in sales with 3 simple skills
Qt6 QML Book/Qt Quick 3D/Qt Quick 3D
[FPGA] IIC读写EEPROM 的实现
IO stream, byte stream read / write copy
节点CODE相同会导致数据重复
Threadlocal
Es2019 key summary
2021-11-04
QT 6.3.1conan software package release
Es2017 key summary
管道实现进程间通信之命名管道
Network high concurrency
Configure specific source IP in SLA detection of FortiGate sdwan
JS file block to Base64 text
Blue Bridge Cup: magic cube rotation [Vocational group]