---
title: "关闭控制台 让java程序继续运行"
author: "it158"
date: "2014-01-10T17:29:53Z"
tags: []
categories: ["编程语言"]
slug: "java"
draft: false
lastmod: "2014-01-10T17:29:53Z"
id: 2002447
url: "https://it158.iteye.com/blog/2002447"
---

让java程序在后台运行：

windows下  ***javaw***  command 

linux下 ***nohup  java***  -jar   migration-0.0.1-SNAPSHOT.jar  &gt; ./data/log/console\_output &