当前位置:网站首页>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
边栏推荐
- Overview of bus structure
- 作文以记之 ~ 二叉树的后序遍历
- 匿名类型(C# 指南 基础知识)
- rembg 分割mask
- okcc呼叫中心外呼系统智能系统需要用多大的盘存录音?
- Notes on 30 steps of introduction to the Internet of things of yangtao electronics STM32 III. cubemx graphical programming and setting the IO port on the development board
- tsdf +mvs
- Qtablewidget header customization and beautification developed by pyqt5 (with source code download)
- Virtual online exhibition - Online VR exhibition hall realizes 24h immersive exhibition viewing
- Large amount of data submitted by form post
猜你喜欢
SYS_CONNECT_BY_PATH(column,'char') 结合 start with ... connect by prior
虚拟线上展会-线上vr展馆实现24h沉浸式看展
QT compilation qtxlsx Library
RPC procedure
洋桃电子STM32物联网入门30步笔记四、工程编译和下载
LeetCode-199-二叉树的右视图
引用传递1
'bully' Oracle enlarged its move again, and major enterprises deleted JDK overnight...
作文以记之 ~ 二叉树的前序遍历
ESP32程序下载失败,提示超时
随机推荐
Add random attributes to the Li class array objects and sort them
synchronized 锁的基本用法
匿名類型(C# 指南 基礎知識)
Redis Desktop Manager for Mac(Redis可视化工具)
Word plus watermark
MATLAB 画五星红旗
STM32使用HAL库,整体结构和函数原理介绍
程序,进程,线程;内存结构图;线程的创建和启动;Thread的常用方法
LINQ学习系列-----1.4 匿名对象
LINQ Learning Series ----- 1.4 anonymous objects
'恶霸' Oracle 又放大招,各大企业连夜删除 JDK。。。
Let the earth have less "carbon" and rest on the road
Using qlst excel file
Virtual online exhibition - Online VR exhibition hall realizes 24h immersive exhibition viewing
xctf刷题小记
Input / output system
Go语言自学系列 | golang结构体的初始化
Ajax cache prevention method
'bully' Oracle enlarged its move again, and major enterprises deleted JDK overnight...
idea底栏打开services