Alexander E Genaud wrote:
I compiled exe with gcc cross compiler on FreeBSD platform with the following command (the source is included):Thanks a lot for the code. I had to run through the ant code manually because I downloaded the latest Tomcat 5.5.16, and merged the 1.4.2 compatibility patch. I was unable to get the exe to work, so I wrote a .bat based on your .sh (which I will soon make more generic). How did you create the EXE, by the way?
mingw32-g++ -static launcher.ccIt looks for JDK/JRE 1.5 (not 1.4) installation by checking JAVA_HOME variable and c:\program files\java directory. When jdk/jre is found it sets proper values to JAVA_HOME, CATALINA_TMPDIR, CATALINA_HOME and CATALINA_BASE variables.
Install JDK 1.5 and try running it again. It's not difficult to extend it to look for jdk in different drives and directories.
-- Mikolaj Rydzewski <[EMAIL PROTECTED]> Becomo S.A. tel. (12) 2927104
smime.p7s
Description: S/MIME Cryptographic Signature