Topic: 请教如何将SWT的Application打包成exe?

  Print this page

1.请教如何将SWT的Application打包成exe? Copy to clipboard
Posted by: cycloneduck
Posted on: 2004-11-21 12:17

SWT的Application可以打包成可执行文件exe吗?

2.Re:请教如何将SWT的Application打包成exe? [Re: cycloneduck] Copy to clipboard
Posted by: kanbol
Posted on: 2004-11-29 17:07

用exe4j打包即可
注意要把swt.jar打包到exe文件中
另外程序发布时要提供swt-win32-3063.dll,和程序放在同一目录下
我已经这样发布过好几个swt程序了

3.Re:请教如何将SWT的Application打包成exe? [Re: kanbol] Copy to clipboard
Posted by: cycloneduck
Posted on: 2004-12-01 11:38

谢谢~!

4.Re:请教如何将SWT的Application打包成exe? [Re: cycloneduck] Copy to clipboard
Posted by: cycloneduck
Posted on: 2004-12-01 13:39

我刚才试了一下,不过总是提示找不到main class
要不要先把SWT程序打包成jar形式?
如何打包?

5.Re:请教如何将SWT的Application打包成exe? [Re: cycloneduck] Copy to clipboard
Posted by: kanbol
Posted on: 2004-12-03 10:42

直接用jar把你的class打包
然后在exe4j里添加jar包,再指定main class

6.Re:请教如何将SWT的Application打包成exe? [Re: cycloneduck] Copy to clipboard
Posted by: chzhltl
Posted on: 2004-12-04 16:11

感谢了 。学了一招

7.Re:请教如何将SWT的Application打包成exe? [Re: cycloneduck] Copy to clipboard
Posted by: test
Posted on: 2004-12-28 08:43

这样打包后的exe程序是否要求客户端安装JRE呢?

8.Re:请教如何将SWT的Application打包成exe? [Re: cycloneduck] Copy to clipboard
Posted by: kavinwang
Posted on: 2004-12-28 11:20

如果没有特殊情况,任何运行java的程序都需要jre。

9.Re:请教如何将SWT的Application打包成exe? [Re: cycloneduck] Copy to clipboard
Posted by: kite
Posted on: 2004-12-29 10:08

这样做,都是需要jre的,如果想不用jre,可以用gcj将其编译为真正的exe或者用jet(http://www.excelsior-usa.com)更好用


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923