6.2-STABLE JDK 1.5 compilation errors

Justen Stepka jstepka at jstepka.name
Tue Aug 7 22:01:33 PDT 2007


On 8/7/07, Jonathan Chen <jonc at chen.org.nz> wrote:
> On Tue, Aug 07, 2007 at 08:20:47PM +1000, Justen Stepka wrote:
> > On 8/7/07, Jonathan Chen <jonc at chen.org.nz> wrote:
> > > On Tue, Aug 07, 2007 at 07:14:07PM +1000, Justen Stepka wrote:
> > > > It's been a while since I've compiled the JDK -- but it's good to see
> > > > things are still the same :).
> > > >
> > > > Today I ran into some compiling errors with the 1.5 JDK on 6.2-STABLE
> > > > (as of this morning).
> > > >
> > > > Here are the compilation errors:
> > > >
> > > > /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226:
> > > > <identifier> expected
> > > > Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
> > > > location - find_vma failed
> > > [...]
> > >
> > > What's your bootstrap JDK?
> > > --
> > > Jonathan Chen <jonc at chen.org.nz>
> > > -----------------------------------------------------------------------
> > > "I love deadlines. I like the whooshing sound they make as they fly by"
> > >                                                         - Douglas Adams
> > >
> >
> > linux-sun-jdk-1.5.0.12,2
>
> Did you remember to mount the linux procfs? Alternatively, you can use
> the diablo-native jdk to bootstrap.
>
> Cheers.
> --
> Jonathan Chen <jonc at chen.org.nz>
> ----------------------------------------------------------------------
>                                        Do not take life too seriously.
>                                    You will never get out of it alive.
>

Sure enough that turned out to be the issue. Not sure why, but running
these commands:

kldload linprocfs
mount -t linprocfs linprocfs /compat/linux/proc

still resulted in the same error until I did a 'make clean' and then
'make ; make install'.

-- 
Justen Stepka
http://www.jstepka.name/blog/


More information about the freebsd-java mailing list