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 Paul Tremblay <ph...@iglou.com> on 2006/01/21 21:22:23 UTC
no runtime java--how to install
I am trying to run fop from a CD (or other removable device). I am at
a different place every day and at a different computer. At some of
the places java is installed, so I can run fop no problem.
However, at other places there is no java runtime. So is it possible
to to install the java runtime on a removable device such as a CD?
I want to do with java what I do with python, put the executables on a
removable device and then sat the path to these executables.
I do not have permission to install java on any of the computers. It
is also very unlikely I can prevail on the system administrators to
install java.
The schools I work at use Windows machines running NT or Professional.
Thanks
Paul
--
************************
*Paul Tremblay *
*phthenry@iglou.com *
************************
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: no runtime java--how to install
Posted by Paul Tremblay <ph...@iglou.com>.
On Tue, Jan 24, 2006 at 10:46:07AM +1100, Roland Neilands wrote:
>
> It can be changed but the default is, eg:
> C:\Program Files\Java\jre1.5.0_04\
> JDK install path is slightly different, but it's unlikely you'd have that.
>
I finally got around to responding. This works. From a removable drive
(or "jump drive") I can convert XML documents to PDF on any Windows
computer I have tried so far, even those without java.
Thanks!
Paul
--
************************
*Paul Tremblay *
*phthenry@iglou.com *
************************
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: no runtime java--how to install
Posted by Roland Neilands <rn...@pulsemining.com.au>.
Paul,
It can be changed but the default is, eg:
C:\Program Files\Java\jre1.5.0_04\
JDK install path is slightly different, but it's unlikely you'd have that.
Cheers,
Roland
Paul Tremblay wrote:
>On Sun, Jan 22, 2006 at 10:58:26AM +0100, Dirk Bromberg wrote:
>
>
>>From: Dirk Bromberg <br...@tzi.de>
>>To: fop-users@xmlgraphics.apache.org
>>Date: Sun, 22 Jan 2006 10:58:26 +0100
>>Subject: Re: no runtime java--how to install
>>User-Agent: Thunderbird 1.5 (Windows/20051201)
>>
>>Hi,
>>
>>yes, you can run java from CD. Like Glen said, you must copy the JRE
>>directory from your java install dir to the CD and if you want to run
>>fop you must call the java.exe direct (relative from your script).
>>
>>
>>
>
>Would you have any idea where the JRE install directory is? I am not
>familiar with Windows. I cannot install the JRE directory *anywhere*
>because I don't have permission, and it occurred to me to just copy
>the JRE on the computers that have them. I sniffed around today on box
>at work and couldn't find anything.
>
>thanks
>
>Paul
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: no runtime java--how to install
Posted by Paul Tremblay <ph...@iglou.com>.
On Sun, Jan 22, 2006 at 10:58:26AM +0100, Dirk Bromberg wrote:
> From: Dirk Bromberg <br...@tzi.de>
> To: fop-users@xmlgraphics.apache.org
> Date: Sun, 22 Jan 2006 10:58:26 +0100
> Subject: Re: no runtime java--how to install
> User-Agent: Thunderbird 1.5 (Windows/20051201)
>
> Hi,
>
> yes, you can run java from CD. Like Glen said, you must copy the JRE
> directory from your java install dir to the CD and if you want to run
> fop you must call the java.exe direct (relative from your script).
>
Would you have any idea where the JRE install directory is? I am not
familiar with Windows. I cannot install the JRE directory *anywhere*
because I don't have permission, and it occurred to me to just copy
the JRE on the computers that have them. I sniffed around today on box
at work and couldn't find anything.
thanks
Paul
--
************************
*Paul Tremblay *
*phthenry@iglou.com *
************************
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: no runtime java--how to install
Posted by Dirk Bromberg <br...@tzi.de>.
Hi,
yes, you can run java from CD. Like Glen said, you must copy the JRE
directory from your java install dir to the CD and if you want to run
fop you must call the java.exe direct (relative from your script).
Dirk
Glen Mazza wrote:
> Paul Tremblay wrote:
>
>> I am trying to run fop from a CD (or other removable device). I am at
>> a different place every day and at a different computer. At some of
>> the places java is installed, so I can run fop no problem.
>>
>
> I'm assuming you're running fop by calling "fop.bat".
>
>> However, at other places there is no java runtime. So is it possible
>> to to install the java runtime on a removable device such as a CD? I
>> want to do with java what I do with python, put the executables on a
>> removable device and then sat the path to these executables.
>
> I *think* so, although I haven't tried it. I would install (expand)
> the J2SDK (or JRE) on your computer's hard drive, then move the entire
> expanded directory to the CD that will have FOP on it.
>
> Next, modify FOP's fop.bat (located in FOP's root directory); the line
> at the bottom that says "java -CP %LOCALCLASSPATH%..."; switch it to
> "..\jd2sdk\jre\bin\java -CP..." or whereever the java.exe will be on
> the CD. Make sure you use a relative path ("..\..", etc.) instead of
> hardcoding the drive letter because that will probably change from
> machine to machine.
>
> Glen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: no runtime java--how to install
Posted by Glen Mazza <gm...@apache.org>.
Paul Tremblay wrote:
> I am trying to run fop from a CD (or other removable device). I am at
> a different place every day and at a different computer. At some of
> the places java is installed, so I can run fop no problem.
>
I'm assuming you're running fop by calling "fop.bat".
> However, at other places there is no java runtime. So is it possible
> to to install the java runtime on a removable device such as a CD?
> I want to do with java what I do with python, put the executables on a
> removable device and then sat the path to these executables.
>
I *think* so, although I haven't tried it. I would install (expand) the
J2SDK (or JRE) on your computer's hard drive, then move the entire
expanded directory to the CD that will have FOP on it.
Next, modify FOP's fop.bat (located in FOP's root directory); the line
at the bottom that says "java -CP %LOCALCLASSPATH%..."; switch it to
"..\jd2sdk\jre\bin\java -CP..." or whereever the java.exe will be on the
CD. Make sure you use a relative path ("..\..", etc.) instead of
hardcoding the drive letter because that will probably change from
machine to machine.
Glen
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org