当前位置:网站首页>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
边栏推荐
- Description of the abnormity that the key frame is getting closer and closer in the operation of orb slam
- Yangtao electronic STM32 Internet of things entry 30 step notes II. Cube ide download, installation, sinicization and setting
- mycat配置
- Generate and parse tokens using JWT
- 二维01背包
- word加水印
- 引用传递1
- Noyer électronique stm32 Introduction à l'Internet des objets 30 étapes notes I. différences entre la Bibliothèque Hal et la Bibliothèque standard
- Navicat remote connection MySQL
- JVM工具之Arthas使用
猜你喜欢

洋桃电子STM32物联网入门30步笔记四、工程编译和下载

Noyer électronique stm32 Introduction à l'Internet des objets 30 étapes notes I. différences entre la Bibliothèque Hal et la Bibliothèque standard

洋桃电子STM32物联网入门30步笔记二、CubeIDE下载、安装、汉化、设置

Description of the abnormity that the key frame is getting closer and closer in the operation of orb slam

正点原子携手OneOS直播 OneOS系统教程全面上线

'恶霸' Oracle 又放大招,各大企业连夜删除 JDK。。。

RCC introduction of Hal Library

QT compilation qtxlsx Library

【深度好文】Flink SQL流批⼀体化技术详解(一)

Shell脚本进阶
随机推荐
'bully' Oracle enlarged its move again, and major enterprises deleted JDK overnight...
Excle plus watermark
Description of the abnormity that the key frame is getting closer and closer in the operation of orb slam
RPC过程
The annotation is self-defined by implementing the parameter parser handlermethodargumentresolver interface
[learning] audio and video development from scratch (9) -- nuplayer
程序,进程,线程;内存结构图;线程的创建和启动;Thread的常用方法
JVM工具之Arthas使用
lgb,xgb,cat k折交叉验证
Failed to convert a NumPy array to a Tensor(Unsupported Object type int)
Harbor企业级镜像管理系统实战
Queue (C language / linked list)
Detailed description of self feeling of auricular point weight loss 0422
让地球少些“碳”息 度能在路上
测试你的机器学习流水线
项目上传部分
STM32 uses Hal library. The overall structure and function principle are introduced
flask项目跨域拦截处理以及dbm数据库学习【包头文创网站开发】
STM32使用HAL库,整体结构和函数原理介绍
洋桃电子STM32物联网入门30步笔记一、HAL库和标准库的区别