---
title: "将Java包程序转换为Exe可执行文件"
author: "mmdev"
date: "2006-10-20T21:20:00Z"
tags: []
slug: "java-exe"
draft: false
lastmod: "2012-10-29T21:21:55Z"
id: 1708133
url: "https://mmdev.iteye.com/blog/1708133"
---

大部分Window用户还是比较习惯直接执行Exe文件，而不习惯先进行相关路径等等配置，然后进入命令窗口执行某个Java包程序。尽管可以写一个bat文件来解决这个问题，但是这就需要程序员对bat文件的格式比较熟悉，而且用户不一定喜欢这种方式。

JSmooth是一款免费将JAR包转换为Exe文件的工具。使用方法一般是先将开发的Java程序制作成包含Manifest的JAR包，然后使用JSmooth将做好的JAR包包装成Exe文件，制作后就可以在安装有JRE的Windows机器上执行了。

官方简介：

JSmooth is a Java Executable Wrapper that makes a standard Windows executable binary (.exe) from a jar file. It makes java deployment much smoother and user-friendly, as it is able to find a Java VM by itself. When no VM is available, it provides feed-back to the users, and can launch the default web browser to an URL that explains how to download a Java VM.

网址：

[http://jsmooth.sourceforge.net/](http://jsmooth.sourceforge.net/)