当前位置:网站首页>idea打包 jar文件
idea打包 jar文件
2022-04-23 08:33:00 【季白九月】
文章目录
项目打包-贪吃蛇为例
一.打包为jar
1.打开结构

2.添加结构

3.选择
因为有好多项目,所以这里需要建立空,如果只有一个目的项目,可以选择根据这个依赖,选择下面一项。

4.设置参数

5.添加依赖


6.设置完成 点击apply后,点击ok

7.回到代码页面 点击build
选择建立架构

8.选择建立

9.目录会生成 所需的包文件

10.在文件夹里打开


11.在cmd里运行 jar即可运行
在生成的架包文件夹的 导航中,最前面输入 cmd+空格,


12.在输入java -jar snake.jar即可运行


版权声明
本文为[季白九月]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_42143701/article/details/124357437
边栏推荐
- DOM 学习之—添加+-按钮
- Use of applicationreadyevent
- 《深度学习》学习笔记(八)
- 记录:js删除数组中某一项或几项的几种方法
- Redis Desktop Manager for Mac(Redis可视化工具)
- Trust uses Tokio's notify and timeout to achieve the effect similar to the timeout condition variable
- Go语言自学系列 | golang结构体作为函数参数
- idea底栏打开services
- One click cleanup of pycharm and jupyter cache files under the project
- 对li类数组对象随机添加特性,并进行排序
猜你喜欢

STM32 uses Hal library. The overall structure and function principle are introduced

After a circle, I sorted out this set of interview questions..

作文以记之 ~ 二叉树的前序遍历

Qtablewidget header customization and beautification developed by pyqt5 (with source code download)

Get the absolute path of the class according to the bytecode

《深度学习》学习笔记(八)

Knowledge points and problem solutions related to information collection

测试你的机器学习流水线

面了一圈,整理了这套面试题。。

HAL库的RCC简介
随机推荐
Redis Desktop Manager for Mac(Redis可视化工具)
分组背包呀
00后最关注的职业:公务员排第二,第一是?
How much inventory recording does the intelligent system of external call system of okcc call center need?
面了一圈,整理了这套面试题。。
Reference passing 1
tsdf +mvs
Ajax cache prevention method
PDF with watermark
Transformer XL: attention language modelsbbeyond a fixed length context paper summary
STM32使用HAL库,整体结构和函数原理介绍
Yangtao electronic STM32 Internet of things introduction 30 steps notes 1. The difference between Hal library and standard library
Go语言自学系列 | golang结构体的初始化
作文以记之 ~ 二叉树的后序遍历
okcc呼叫中心外呼系统智能系统需要用多大的盘存录音?
Detailed description of self feeling of auricular point weight loss 0422
QFileDialog select multiple files or folders
项目上传部分
Description of the abnormity that the key frame is getting closer and closer in the operation of orb slam
Word plus watermark