You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Rick Roen <Ri...@LakeValleySeed.com> on 2006/05/19 00:26:17 UTC

use java from server

Fop 0.92b

 

I am calling FOP from a command line bat file. The actual FOP folder is
located on a server on a Win 2000 server with mainly XP pro clients.

 

On occasion a client does not have java installed locally, so fop errors
with 

 

'java' is not recognized as an internal or external command,

operable program or batch file.

 

 

Can I tell fop to use the server version of java, or does it have to be
installed on each client?

 

Rick


Re: use java from server

Posted by Daniel Noll <da...@nuix.com.au>.
Rick Roen wrote:
> Thanks Daniel,
> 
> I know little of java, so forgive the possibly ignorant question:  Is that
> just a matter of modifying the "JAVA_HOME" environment variable in the batch
> file?

I don't actually have the batch file in order to see what it's doing, 
but usually you just have to make sure that however "java.exe" is being 
called, it is being called from the correct location.  It's more a 
matter of batch file knowledge than Java knowledge. :-)

Daniel

-- 
Daniel Noll

Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia    Ph: +61 2 9280 0699
Web: http://www.nuix.com.au/                        Fax: +61 2 9212 6902

This message is intended only for the named recipient. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
message or attachment is strictly prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


RE: use java from server

Posted by Rick Roen <Ri...@LakeValleySeed.com>.
Thanks Daniel,

I know little of java, so forgive the possibly ignorant question:  Is that
just a matter of modifying the "JAVA_HOME" environment variable in the batch
file?

I don't have a good test setup without java installed, otherwise I would
just do this myself.

Rick

-----Original Message-----
From: Daniel Noll [mailto:daniel@nuix.com.au] 
Sent: Thursday, May 18, 2006 5:20 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: use java from server

Rick Roen wrote:
> Can I tell fop to use the server version of java, or does it have to be 
> installed on each client?

Assuming you're running it from a batch file, you could trivially modify 
the batch file to point at another location.

Daniel


-- 



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: use java from server

Posted by Daniel Noll <da...@nuix.com.au>.
Rick Roen wrote:
> Can I tell fop to use the server version of java, or does it have to be 
> installed on each client?

Assuming you're running it from a batch file, you could trivially modify 
the batch file to point at another location.

Daniel


-- 
Daniel Noll

Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia    Ph: +61 2 9280 0699
Web: http://www.nuix.com.au/                        Fax: +61 2 9212 6902

This message is intended only for the named recipient. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
message or attachment is strictly prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org