atitit.基於虛擬機器的啟動器設計 --java 啟動器 java產生exe

來源:互聯網
上載者:User

標籤:

atitit.基於虛擬機器的啟動器設計 --java 啟動器   java產生exe

exe4j   vs  nativej

 

 

1. step1讀取設定檔 1

1.1. regular mode   、、 allINone exe mode 1

1.2. gene exe dir cfg 3

2. jre 目錄配置and搜尋 3

3. -classpath    -Djava.ext.dirs  jar and native dll配置 5

4. main class 配置 6

5. 其他的 6

5.1. 配置版本資訊 6

5.2. gui with console support 7

5.3. 配置ico 7

5.4. redirect stderr  stdout 7

5.5. cfg as server 8

5.6. 32bit & 64bit 8

5.7. splash screen 8

 

 

%~dp0jre\bin\java.exe  -classpath ".;.\classes;%~dp0bin" -Djava.ext.dirs="%~dp0lib"   -Djava.library.path="%~dp0dll" com.attilax.mail.AccTesterGUI

1. step1讀取設定檔

倆個都可。。

 

1.1. regular mode   、、 allINone exe mode

exe4j   

 

 

 

作者:: 老哇的爪子 Attilax 艾龍,  EMAIL:[email protected]

轉載請註明來源: http://blog.csdn.net/attilax

 

1.2. gene exe dir cfg

 

exe4j 的不個distribution dir 配置呱走ok蘭...exe dir left 空的...

 

 

2. jre 目錄配置and搜尋

 

 

 

 

 

 

 

3. -classpath    -Djava.ext.dirs  jar and native dll配置

 

ej 中 jar dir 是scan dir...

 nj 中jar dir 是embed jar files..>>add folder..

NJ的好像馬行上dll的dir 配置..native dl 

 

 

 

4. main class 配置

 

 

 

 

 

5. 其他的5.1. 配置版本資訊

 

5.2. gui with console support

 

5.3. 配置ico

 

5.4. redirect stderr  stdout

 

 

 

5.5. cfg as server

exe4j yao 正式版本的才可以...

nj  的示範版本也可以說...

 

 

5.6. 32bit & 64bit

exe4j 要只能一個一個產生...

nj 可以一起產生...

 

5.7. splash screen

 

 

 

 

atitit.基於虛擬機器的啟動器設計 --java 啟動器 java產生exe

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.