Which JDK for Ooo-2 and FreeBSD7-beta4?

Ben Stuyts ben at altesco.nl
Thu Dec 6 05:34:33 PST 2007

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 at .
>>>> 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-
>> [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  

I have compiled Ooo-2 without errors now, and a quick test of writer  
shows that it works.


More information about the freebsd-openoffice mailing list