jdks compatible with argouml?

Greg Lewis glewis at eyesbeyond.com
Sat Jan 19 07:43:15 PST 2008


On Sat, Jan 19, 2008 at 04:13:28PM +0100, Rene Ladan wrote:
> Rene Ladan schreef:
> > Rene Ladan schreef:
> >> Greg Lewis schreef:
> >>> On Mon, Jan 07, 2008 at 09:14:31PM +0100, Rene Ladan wrote:
> >>>> Hi,
> >>>>
> >>>> while the website reports that devel/argouml (which I maintain) needs at least
> >>>> JDK 1.4, I've found this:
> >>>>
> >>>> FreeBSD	| JDK		| works?
> >>>> 7.0-B4	| diablo-15	| no (exits after splash screen with error code 1 IIRC)
> >>>> 7.0-B4	| jdk16		| yes
> >>>> 8.0-CUR	| diablo-15	| no (same problem)
> >>>> 8.0-CUR	| jdk16		| yes
> >>>>
> >>>> This is all on a dualcore i386 box.  The port currently requires jdk1.4 (any vendor/os),
> >>>> but maybe the people on this list can give some feedback to determine a stricter/better
> >>>> requirement?
> >>> Try it with jdk15 instead of diablo-jdk15.  Trying jdk14 is going to be
> >>> painful since it doesn't compile with the version of gcc used by 7.x.
> >>>
> >> argouml runs fine with jdk15 bootstrapped with diablo-jdk15, jdk16 was also bootstrapped
> >> with diablo-jdk15.  Linux emulation is the default 2.4.2, with linux_base-fc4_10 and
> >> linux-xorg-libs-6.8.2_5 installed.
> >>
> >> So FreeBSD 7.0-BETA4 + jdk15 also works.
> >>
> >> As java/jdk14 is BROKEN for FreeBSD 7+, how about testing java/linux-sun-jdk14 instead?
> >>
> > I can install linux-sun-jdk14 on my box and show its version, but argouml won't start at
> > all complaining that the default stack size (40MB ?) is too small.  Changing the startup
> > script from
> > 
> > JAVA_VERSION="1.4+" "/usr/local/bin/java" -jar "/usr/local/share/argouml/argouml.jar" "$@"
> > 
> > to
> > 
> > JAVA_VERSION="1.4" "/usr/local/bin/java" -Xss160M -jar "/usr/local/share/argouml/argouml.jar" "$@"
> >                  ^
> >                  |
> >                  force selection of linux-sun-jdk14
> > 
> > 
> > (or -Xss160m) doesn't work either.
>
> Would it be sensible to change devel/argouml to require freebsd/linux jdk1.5+ ?

It doesn't seem like it.  It starts up fine for me using jdk14 on FreeBSD 6.2.
All you're seeing is that jdk14 doesn't compile on 7.x (known issue) and
that there is a problem with the Linux emulation layer which is causing
linux-sun-jdk14 to not work.

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


More information about the freebsd-java mailing list