Run JVM inside the l4j EXE, no call to java.exe
Brought to you by:
grzegok
I am wondering why the generated exe starts in its own process AND additionally triggers an instance of java.exe or javaw.exe.
head.c shows that those exe files are called depending on gui or console mode.
void appendJavaw(char* jrePath) {
if (console) {
appendPath(jrePath, "bin\\java.exe");
} else {
appendPath(jrePath, "bin\\javaw.exe");
}
}
It would be cool if a launch4j exe would make use of the respective jvm.dll and run in a single process only.
exe4j does it that way: http://www.ej-technologies.com/products/exe4j/features.html
the issue was copied to http://code.google.com/p/jliftoff/issues/list
implemeted. Will be available in jLiftOff 3.1
http://code.google.com/p/jliftoff/issues/detail?id=45