---
title: "java转exe——jsmooth"
author: "bigtree2006"
date: "2009-02-09T10:32:34Z"
tags: []
slug: "java-exe-jsmooth"
draft: false
lastmod: "2009-02-09T10:43:02Z"
id: 325524
url: "https://bigtree2006.iteye.com/blog/325524"
---

1 . 首先需要把你的程序生成jar文件，这个步骤网络上的资料比较多，随便google一下就可以列出一大堆，我用的是eclipse + fatjar

2\. 到http://jsmooth.sourceforge.net/index.php下载jsmooth  
安装后运行，界面如下 ：   
![](http://www.newbooks.com.cn/infos/pic/200608/50682/20068152158536030.BMP)

3 . Skeleton Chooser下拉框中选择Windowed Wrapper  
Skeleton Properties ： 在launch java app in the exe process 选项打勾   
4\. 点击Executable, 这一步是设置生成的exe文件的属性，包括名字，图标，路径  
5\. 设置完成后，继续下一选项，Application 

![](http://www.newbooks.com.cn/infos/pic/200608/50682/20068152158545176.BMP)

Main class ： 主运行类，有main()方法的类  
Embedded jar : 就是选择你要制作成EXE文件的jar  
5． 其他的选项如果不需要可不必设置，最后单击project下的compile 就OK了 , 可以在装有jre的机器上直接运行  
本文地址：[http://read.newbooks.com.cn/info/50682.html](http://read.newbooks.com.cn/info/50682.html)