Hi SriKrishnan, Sorry I'm late to the game here, but may I suggest looking through the "proper" way to add class-paths to a JAR (see link below). It does involve invoking the "jar" command on the command-line which is fairly counter-intuitive for Windows users, but it is the suggested method to adding libraries/files to the class-path.
http://download.oracle.com/javase/tutorial/deployment/jar/downman.html Thanks Mehdi On 3 November 2010 09:06, SriKrishnan <[email protected]> wrote: > Hi All, > > Thanks for all your help. > > Now I have successfully created mathml.pdf by updated the below two lines in > "fop.bat" > > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jeuclid-core-3.1.9.jar > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jeuclid-fop-3.1.9.jar > > Thanks a lot, > Srikrishnan > > > -----Original Message----- > From: Simon Pepping [mailto:[email protected]] > Sent: Tuesday, November 02, 2010 4:43 PM > To: [email protected] > Subject: Re: JEuclid and FOP > > On Mon, Nov 01, 2010 at 09:31:23PM +0100, J.Pietschmann wrote: >> On 01.11.2010 13:20, Peter Hancock wrote: >> >I am not a windows user and so there may be an environmental reason >> >you are not have success but I do not think that is likely. >> >> The fop.bat for windows isn't nearly as intelligent as the fop >> shell script used on Linux/Unix. In particular, on windows each >> jar which has to be included into the classpath gets an explicit >> line in the fop.bat, while the shell script automatically includes >> every jar it finds in the lib subdirectory. The fop.cmd command >> file should also automatically includes every jar in the lib subdir, >> but usually the fop.bat command takes precedence. > > I created fop.js for the same purpose. It should also include all jar > files in the lib subdirectory automatically. Since I do not use MS > Windows myself, I did not use or test it recently. > > Simon > >> So in order to so in order to get FOP with JEuclid working on Windows >> with the fop.bat command, the fop.bat file has to be modified to >> add the JEuclid jars to LOCALCLASSPATH (this should'nt be too hard). >> Or just call fop.cmd explicitely: >> fop.cmd mathml.fo mathml.pdf > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
