当前位置:网站首页>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
边栏推荐
- What are the usage scenarios for locks in MySQL
- 0 basic self-study STM32 (wildfire) -- use register to light LED -- Explanation of GPIO function block diagram
- SAAS 服务的优势都有哪些
- 2022 software evaluator examination outline
- 【WebDriver】使用AutoIt上传文件
- C语言练习----指针字符串、链表
- R language uses GLM function to build Poisson logarithm linear regression model, processes three-dimensional contingency table data to build saturation model, uses exp function and coef function to ob
- 0基础自学STM32(野火)——使用寄存器点亮LED——GPIO功能框图讲解
- selenium 组合键操作
- mysql游标的作用是什么
猜你喜欢
随机推荐
自动收售报机
R语言ggplot2可视化:使用patchwork包(直接使用加号+)将一个ggplot2可视化结果和一个plot函数可视化结果横向组合起来形成最终结果图
selenium上传文件
What is the MySQL query view command
Browser large screen capture
C language practice ---- pointer string and linked list
R语言epiDisplay包的aggregate函数将数值变量基于因子变量拆分为不同的子集,计算每个子集的汇总统计信息、aggregate.data.frame函数包含缺失值的情况下分组统计结果为NA
How MySQL queries character set codes of tables
Graduation season | Huawei experts teach interview tips: how to get a high salary offer from a large factory?
Issue 42: is it necessary for MySQL to have multiple column partitions
The fixed assets management system enables enterprises to dynamically master assets
Automatic vending machine
mysql查询视图命令是哪个
epoll分析
R语言使用glm函数构建泊松对数线性回归模型处理三维列联表数据构建饱和模型、使用exp函数和coef函数获取模型所有变量的事件密度比(Incidence Density Ratio,IDR)并解读
Development of freedom free agreement pledge mining system
selenium 组合键操作
底层内功修养
MySQL触发器如何创建与删除
R language ggplot2 visualization: use the patchwork package (directly use the plus sign +) to horizontally combine a ggplot2 visualization result and a plot function visualization result to form the f
![填充每个节点的下一个右侧节点指针[利用好每个点->尽可能降低时空复杂度]](/img/33/bda0a898bfe3503197026d1f62e851.png)





![分割回文串[dp + dfs组合]](/img/7b/221b000984977508f849e19802c2c2.png)


