Date: Thu, 6 Dec 2007 14:34:30 +0100 From: Ben Stuyts <ben@altesco.nl> To: freebsd-openoffice@freebsd.org Subject: Re: Which JDK for Ooo-2 and FreeBSD7-beta4? Message-ID: <D1111D43-2B1E-498D-9325-BA29B7C741F3@altesco.nl> In-Reply-To: <4756DD5F.3030405@math.missouri.edu> References: <56B33BBB-FBFE-4F69-9A0D-4F0F40849B3F@altesco.nl> <18262.49937.566602.434758@jerusalem.litteratus.org> <4D009329-B8D6-426D-B320-891CC7677773@altesco.nl> <4756DD5F.3030405@math.missouri.edu>
index | next in thread | previous in thread | raw e-mail
On 5 Dec 2007, at 18:18, Stephen Montgomery-Smith wrote: > Ben Stuyts wrote: >> On 5 Dec 2007, at 16:26, Robert Huff wrote: >>> Ben Stuyts writes: >>> >>>> I am trying to build Ooo-2 on FreeBSD7-beta4. I can't get past >>>> the JDK build, see log below. It says JDK15 is not supported on >>>> FreeBSD7. >>> >>> I do not believe this to be correct. >> Do you assume an error in the port, or in my setup? >>> >>> In the port. >>> Come to think of it, there may be issues with compatiility >>> libraries. Check the archives of java@. >>> >>>> Which JDK is recommended? >>> >>> I have built what appears to be a working OOo 2.3 using >>> diablo-jdk15 under -CURRENT about the time it branched. >>> It would be nice if OOo could be updated to work with jdk16. >> Diablo core-dumps here: (on Freebsd-7 beta4 built yesterday) >> [jirad:...java/diablo-jdk15]142# l -d /var/db/pkg/*jd* >> drwxr-xr-x 2 root wheel 512 Dec 5 14:37 /var/db/pkg/diablo- >> jdk-1.5.0.07.01_8 >> [jirad:...java/diablo-jdk15]143# /usr/local/bin/java -h >> Segmentation fault (core dumped) > > I used to have a problem with diablo-jdk15 because it ran out of > memory. I ended up changing the max stack and data size, and then > it worked fine. > > Something like this in /boot/loader.conf (YMMV). > > kern.maxdsiz=1073741824 > kern.maxssiz=1073741824 Thanks all for the help. It was good to know that it is working on other systems. Robert's suggestion about the libraries made me look into other areas of this system and I found some old files and libs, and they were removed when I did a make delete-old delete-old-libs in /usr/src. Now java works fine. Looks like I was linking against some outdated libraries. I have compiled Ooo-2 without errors now, and a quick test of writer shows that it works. Thanks, Benhelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D1111D43-2B1E-498D-9325-BA29B7C741F3>
