Atitit. design of launcher based on virtual machine --java Launcher java generation exe
Exe4j vs Nativej
1. Step1 Read configuration file 1
1.1. Regular mode , allinone exe mode 1
1.2. Gene EXE DIR CFG 3
2. JRE directory configuration and search 3
3.-classpath-djava.ext.dirs jar and native DLL configuration 5
4. Main class configuration 6
5. The other 6
5.1. Configuring version Information 6
5.2. GUI with console support 7
5.3. Configuring 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. Step1reading configuration Files
Both of them can be.
1.1. Regular mode,,allinone exe mode
Exe4j
Author:: Old Wow's paw attilax Ayron, email:[email protected]
Reprint please indicate source: Http://blog.csdn.net/attilax
1.2. Gene EXE DIR CFG
Exe4j not a distribution dir configuration quack walk OK lan .. exe dir left empty ...
2. JREDirectory Configuration andSearch
3.-classpath-djava.ext.dirs jar and native DLLConfiguration
EJ in jar dir is scan dir ...
The jar dir in NJ is the embed jar files. >>add folder.
NJ is like the dir configuration of trot on dll . Native DL
4. Main classConfiguration
5. The other 5.1. Configuring version Information
5.2. GUI with console support
5.3. Configurationico
5.4. REDIRECT StdErr stdout
5.5. CFG as Server
Exe4j Yao official version of the only can ...
the demo version of NJ can also be said ...
5.6.32bit & 64bit
Exe4j to only one generation ...
NJ can be generated together ...
5.7. Splash screen
Atitit. Virtual machine-based initiator design--java launcher java generation EXE