is there any way to get data that would be displayed in cmd to display once its in an exe.. i get the javaw.exe process in the process tree but no text displayed even if i use
myfile.exe>>log.txt
log.txt remains blank, im not sure if the actual file is being run or not though but it doesnt display anything
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If it's a console application use the console header, the redirection will also work. This can't be done using the gui header (at least with the current version of launch4j).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
is there any way to get data that would be displayed in cmd to display once its in an exe.. i get the javaw.exe process in the process tree but no text displayed even if i use
myfile.exe>>log.txt
log.txt remains blank, im not sure if the actual file is being run or not though but it doesnt display anything
If it's a console application use the console header, the redirection will also work. This can't be done using the gui header (at least with the current version of launch4j).
i tried using this config:
header consolehead.bin
jar HelloWorld.jar
outfile HelloWorld.exe
javamin 1.4.0
but it just says
launch4j 1.3.1 - windows native executable java application wrapper
Copyright (C) 2004 Grzegorz Kowal
Under the GNU Lesser General Public License
launch4j: invalid config file: unrecognized property: header
gui/console headers were introduced in launch4j 1.4.0 and you are using 1.3.1 - download the latest version!
Grzegorz