惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
J
Java Code Geeks
雷峰网
雷峰网
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
云风的 BLOG
云风的 BLOG
V
Visual Studio Blog
V
Vulnerabilities – Threatpost
S
Securelist
The Hacker News
The Hacker News
The Register - Security
The Register - Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Help Net Security
Help Net Security
G
Google Developers Blog
Hugging Face - Blog
Hugging Face - Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
M
MIT News - Artificial intelligence
AI
AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The GitHub Blog
The GitHub Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Schneier on Security
Schneier on Security
N
Netflix TechBlog - Medium
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
Hacker News - Newest:
Hacker News - Newest: "LLM"
H
Hacker News: Front Page
博客园 - 司徒正美
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
B
Blog
Microsoft Azure Blog
Microsoft Azure Blog
大猫的无限游戏
大猫的无限游戏
Security Latest
Security Latest
Engineering at Meta
Engineering at Meta
N
News and Events Feed by Topic
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
酷 壳 – CoolShell
酷 壳 – CoolShell
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Threat Research - Cisco Blogs
U
Unit 42
V
V2EX
V2EX - 技术
V2EX - 技术
L
LINUX DO - 最新话题
aimingoo的专栏
aimingoo的专栏
Microsoft Security Blog
Microsoft Security Blog
Recorded Future
Recorded Future
P
Privacy & Cybersecurity Law Blog
美团技术团队
小众软件
小众软件
F
Fortinet All Blogs

博客园 - 安安

macOS 10.13允许任何来源开启方法 mac系统如何处理来自身份不明的开发者 依赖注入 与 控制反转 捷波朗 jabra BT3030 蓝牙耳机 罗技 UE3100 蓝牙耳机使用 代理服务器 Eclipse快捷键 Html5的表单 host asp.net程序的小型IIS msdn windows 电驴资源(转) Zookeeper .Net Client 使用 Windows与Linux拷贝数据 ContOS Linux下VNC Server远程桌面配置详细 搭建自己的NuGet服务器 Windows 下 Zookeeper 启动脚本 Zookeeper安装 实现CentOS 中的单窗口打开文件夹 设置Eclipse的Maven库 maven jetty的eclipse 插件
运行jar程序批处理bat程序编写
安安 · 2012-09-24 · via 博客园 - 安安

java.exe

保持一个console窗口,程序中的信息可以通过System.out在console内输出

javaw.exe

开始时会出现console,当主程序调用之后,console就会消失,javaw 大多用来运行GUI程序

1. java bat

java -jar Notepad.jar

这个就会开出以个控制台程序,关闭 控制台 即关闭 程序。

2. javaw bat

start javaw -jar Notepad.jar
exit

这样 会自动启动一个gui的程序,并退出 控制台。