You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Thomas Kæregaard <th...@vigilante.com> on 2001/10/10 10:19:27 UTC

Making a native win32 binary out of FOP

Hi List.

I would like to distribute FOP with my application, but I don't want to force people to install 5,4 MB worth of JRE.

Do any of you have experience regarding translation of FOP into an .exe-file (+ some .dll's probably) that will run directly from a win32 platform? Some sort of Java->win32 "wrapper" is acceptable, as long as it doesn't force us to install the JRE.

Thanks in advance.

- Thomas Kæregaard, Denmark


Re: Making a native win32 binary out of FOP

Posted by Bertrand Delacretaz <bd...@codeconsult.ch>.
On Wednesday 10 October 2001 10:19, Thomas Kæregaard wrote:
> I would like to distribute FOP with my application, but I don't want to
> force people to install 5,4 MB worth of JRE.

Most likely you *will* have to distribute the JRE (unless you find a 
compatible java-to-exe compiler?).

You might not need to *install* the JRE, though. Recent experiments here have 
shown that merely *copying* an installed JRE directory to another system works, as long as you're careful 
with PATH and the like to make sure that the desired version of the JRE is 
started. 
I don't know if this is "official" but it works fine.

Starting java classes from an EXE is possible using JNI (the java native 
interface), this is done for example by the "javaserv" utility, see 
http://www.kcmultimedia.com/javaserv.

-- 
 -- Bertrand Delacrétaz, www.codeconsult.ch
 -- web technologies consultant - OO, Java, XML, C++






---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org