Hi Tom,

I assumed you installed the standard Debian package that provides the
Sun jdk, but if it is in /opt/sun/something this is probably not the
case. Any reason why you would need your own Sun Java installation?
Otherwise you can install the sun-java6-jdk package, and then you can
choose your favourite jvm using the update-java-alternatives command.

Also, you don’t need to set the JAVA_HOME and JAVABINDIR environment
variables at all.

I don’t know what the /usr/lib/jvm/.*.jinfo files are, but after years
of working on Debian-based systems I’ve never felt the need to know :-)

Make sure you are running the correct jvm by typing ‘javac -version’ on
the terminal.

Like Andreas said the jvm doesn’t usually use all the memory that’s
available on your system. You can set the maximum amount of memory
allocated to the jvm using the -Xmx parameter, but I’ve never had to do
that for building FOP. I’d first check that you are running the right
jvm, and then we can get back to how to use that switch later on.

HTH,
Vincent


Tom Browder wrote:
> On Mon, Jun 15, 2009 at 05:13, Vincent Hennebert<[email protected]> wrote:
>> Hi Tom,
>>
>> I can build FOP without any problem on the same system (ok, jdk1.6.0_13
>> instead of jdk1.6.0_14 but that shouldn’t change anything really).
>>
>> Are you sure you are actually running the Sun jdk? This is the usual
>> trap on Debian-based systems. Run ‘update-alternatives --display javac’
>> in a terminal. If it is not set to Sun’s jdk, you can set it like this:
>>    sudo update-java-alternatives -s java-6-sun
> 
> That is all set now, but I still get the same errors.
> 
> Any more ideas?
> 
> Note that I cannot find directory "tools/com/sun/tools/javac" anywhere
> on my system other than my build of the latest gcc.
> 
> See this message:
> 
>     [javac] Consult the following stack trace for details.
>     [javac] java.lang.OutOfMemoryError: Java heap space
>     [javac]   at
> com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:609)
> 
> Thanks,
> 
> -Tom
> 
> P.S.  Would someone like a test docbook xml file to give fop -pdf a
> good workout?
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to