当前位置:网站首页>Set double click to run the jar file
Set double click to run the jar file
2022-06-29 17:35:00 【Hua Weiyun】
windows Double click on the settings below to run jar file
Everybody knows , The project is packaged jar The file should be able to run directly , Although we can also use instructions
java -jar xxx.jarfunction , But it's always troublesome , Wouldn't it be convenient to double-click and open it directly , Now let's take a look at how to operate
First ensure local java The development environment of is configured successfully ,cmd Execution instruction
java -versionIf the version number is displayed correctly, the configuration is correct , Unconfigured friends please Reference here

Next, we find an executable jar package , The right choice Open mode by jdk Install under directory java\jdk1.8.0_221\bin\javaw.exe, And check the Always use this program to open

Win + R Key combination input regedit Open the registry editor and find HKEY_CLASSES_ROOT\Applications\javaw.exe\shell\open\command

Right click to modify the value , Add... After the path -jar "%1" %* Be careful - There is a space in front

Modify and return to jar The location of the package , The discovery has changed , Double click to run

Sometimes it may be associated with the file format by default by the decompression program in the computer , At this time, if it does not take effect, you need to cancel the file format Association in the relevant software
边栏推荐
- mysql如何查询表的字符集编码
- mysql支持外键吗
- 2020版KALI安装教程
- Use SSH to pull codes
- R语言使用自定义函数编写深度学习Leaky ReLU激活函数、并可视化Leaky ReLU激活函数
- R language uses user-defined functions to write deep learning linear activation functions and visualize linear activation functions
- The R language inputs the distance matrix to the hclust function for hierarchical clustering analysis. The method parameter specifies the distance calculation method between two combined data points,
- Repair of JSON parsing errors in a collection
- Li Kou today's question -535 Encryption and decryption of tinyurl
- Scenario solution for two modules calling each other in go
猜你喜欢

LeetCode 每日一题——535. TinyURL 的加密与解密

DevCloud加持下的青软,让教育“智”上云端

腾讯云发布自动化交付和运维产品Orbit,推动企业应用全面云原生化

MySQL触发器如何创建与删除

Redis 原理 - Sorted Set (ZSet)

基于STM32F103ZET6库函数串口实验

Industry application of smart city based on GIS 3D visualization

sequential detector

Bottom level internal skill cultivation

mysql. What is the concept of sock
随机推荐
传承中华美德,关注中老年大健康,育润奶粉敬老情浓
Epoll analysis
L'intercepteur handlerinterceptor personnalisé permet l'authentification de l'utilisateur
0基础自学STM32(野火)——寄存器点亮LED
关于KALI使用xshell连接
从居家办公中感悟适配器模式 | 社区征文
mysql支持外键吗
腾讯云发布自动化交付和运维产品Orbit,推动企业应用全面云原生化
Face recognition 4- research on Baidu commercial solutions
外部自动(PLC启动机器人)
数字孪生能源系统,打造低碳时代“透视”眼
首批!腾讯云通过中国信通院政务协同平台解决方案能力评估
卷妹带你学jdbc—2天冲刺Day1
Industry application of smart city based on GIS 3D visualization
The R language inputs the distance matrix to the hclust function for hierarchical clustering analysis. The method parameter specifies the distance calculation method between two combined data points,
Online sql to CSV tool
What are the usage scenarios for locks in MySQL
自动收售报机
正则表达式
Kubernetes deployment dashboard (Web UI management interface)