用install4j為Java打包exe教程_第1頁(yè)
用install4j為Java打包exe教程_第2頁(yè)
用install4j為Java打包exe教程_第3頁(yè)
用install4j為Java打包exe教程_第4頁(yè)
用install4j為Java打包exe教程_第5頁(yè)
已閱讀5頁(yè),還剩28頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、1、2、t也B: SWMS打開(kāi)安裝好的install4j文件用install4j工具為java程序打包exe網(wǎng)上搜破解版的install下載一個(gè)就行.用Eclipse將程序源碼打包成jar文件.打包jar方法我不做介紹了,相信大家都會(huì),不會(huì)的百度一下吧。準(zhǔn)備工作.將導(dǎo)出的jar包:aaa.jar,程序需要的圖片:images,數(shù)據(jù)庫(kù)database,以及你要生成exe文件 后的圖標(biāo)png圖片,全部復(fù)制到一個(gè)SMMS文件夾下面。輸入程序全名Full Name,程序簡(jiǎn)稱Short Name,版本號(hào)version,然后點(diǎn)擊右上角的藍(lán)色箭頭 進(jìn)行下一步。輸入JRE的最低版本號(hào),最高可以為空。因?yàn)榇饲按?/p>

2、包過(guò)其他源碼,并安裝過(guò)JRE所以在下 面JRE的搜索結(jié)果中(紅絲邊框內(nèi))會(huì)出現(xiàn) JRE環(huán)境,初次打包是沒(méi)有的。點(diǎn)擊右上角箭頭進(jìn) 入下一步。5、選擇語(yǔ)言,然后點(diǎn)擊右上角箭頭進(jìn)行下一步紅框內(nèi)設(shè)置文件打包后存放路徑,點(diǎn)擊右上角箭頭進(jìn)行下一步SBi nst lal 14 j lult i Pl alfl?rfi/td on7、連續(xù)點(diǎn)擊下一步到Files界面,點(diǎn)擊 Add Files(紅框內(nèi))8、 點(diǎn)擊Add Files后,如果是打包某個(gè)單獨(dú)文件,選Single files, next到下一步Z. Add Files and Directoriesi. select typeSelect type of

3、 entryYou can add 5righ Files or directories to the dtetrfaJtion tree, Please selectthe dtsiredt/pe oF ths entry:C1 DirectoryThe contents oF a dredtory and all its subcirec tories are added recursively to the CLrrently selected position in the distributcin tree. Ypu tan specify excluded suf Fixes an

4、d specifically extkjded files and directories,r?|5ngle file?fl, number of selected Ffes From arbitrary IccaUons are dded to the cuiTEntly sdedted position in the distribution treeHelpNext 點(diǎn)擊綠色的加號(hào),添加需要打包的文件。10選擇需要的jar包11一直點(diǎn)擊next至U finished界面,再點(diǎn) OE12、可以看到剛引入的jar文件13因?yàn)槲覀兊某绦蛐枰獢?shù)據(jù)庫(kù)和圖片,也要把這些導(dǎo)進(jìn)去。所以先建立兩個(gè)文件夾i

5、mages和database。首先導(dǎo)入圖片,鼠標(biāo)選中images,點(diǎn)擊Add Files14、這里選擇Directory,因?yàn)橹苯訉?dǎo)入整個(gè)圖片文件夾15、找到圖片的路徑二/ Add Files and Di.rectori.esXSelect typeSelect directoryInstal 叩tiunsUmn或那 optionsExcluded fHes and directoriesExclude suffixesHnifhedSelect directory to add to the distributio.Ple-ase 沁le己 a cfrectory that xntains

6、 Files yw would like to distritujte. The contents of that director/ 點(diǎn)II bereci_rsrvelyto ttie cirrentty selected position in the distribution tree.Selected directory:lents 日nd 5&ttingstHPl1465DeskfcopWM5imace5| | ,| $ Help 4 Back Net 卜 Finish Cifi cut able inFo3i IconJiva invocationAdirancKl options

7、 i -Native libr-arie;.Prefe-rred UMSpl弟h streenFinishedConfigure Java invocationGeneralMin class:州 iParamater:tplftae quote parameters like,h-Dappdir=-tl3LTicherxye.L10Arguments:_ Allow UM passthrough parameters (e.g.PattiToggle Fail on Error Advance FMh CamelMedia Hie typeiistlltr optionsDate fies3

8、24*or &4-bitCade sqniripBundled JRECustoraize project daulrs Cumm頑kn :試可毎:, Conpiler variables * Mad a fils lame+ Prlndpal Imguage ,Exdjdt ccmpcnntsEucludc 6lcs-Exchde lajnthefs -Exclude 5UBtS ISe. Finished在窗口中你可以篩選不需生成的文件,選中為不生成,繼續(xù)點(diǎn)擊next Vedia Tizsrd - TindowsSelect excluded files and directoriesIn

9、 this stepj you exclude fies and directories cf the distribution tree that should no be dstribired with this media file. If they are ateady part of an excluded instalation compcnenl:, you Jd r*ot have to exclude tlhem agari.Excbded files and drectortes: I-InstllatiDn drertoryl ,4M.JarA 匸I images& _I

10、 : I databasep He|p4 Back Next 卜 Finish CancelX38、到 finished 界面點(diǎn) OK一 le dia Tizard - TindoTSMedia File typeInstaller optionsData FilesFinishedVour media file configuration is complete.32-bltor64*bltCode signingBundled IRECustonnijc project defaultsfi- FinishedTo build thsfil烏 go tu th& next step. Altemativety, you can click orthe build kon in the tool bar or choose Build1 From the main menu.鋤H如BackNextOKCancel39、點(diǎn)擊右上角箭頭進(jìn)行下一步40、先點(diǎn)Test Build等執(zhí)行完,41如果不報(bào)錯(cuò),再點(diǎn)Start Build打開(kāi)SMMS文件夾可以看到剛剛生成的exe安裝文件現(xiàn)在安裝它,測(cè)試一下口回區(qū)I.Setup - SVVS 1.3Completing the SMMS Setup WizardSetup has Finished instalin

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論