Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Nov 2000 12:37:51 +0200
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Greg Lewis <glewis@trc.adelaide.edu.au>
Cc:        "Koster, K.J." <K.J.Koster@kpn.com>, freebsd-java@FreeBSD.org
Subject:   Re: java was not found in /bin/i386/green_threads/java
Message-ID:  <3A0A7E7F.5CC4E8FF@FreeBSD.org>
References:  <200011082257.JAA24739@ares.trc.adelaide.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lewis wrote:

> Koster, K.J. wrote:
> > >
> > > Have you got Linux emulation actually on?
> > >
> > This is rapidly becoming a FAQ.
> >
> > Is there any way for the port to check that the linux-emu is up-and-running
> > automatically? Perhaps add something to the sanity check like:
> >
> >   if [ X`.../linux.../java -version | grep 1.2.2` == X ]
> >   then
> >       echo "Please turn on the linux-emu in /etc/rc.conf"
> >       exit 1
> >   fi
> >
> > Hmm... or something. :-)
> >
> > Alternately (better, perhaps) we could add this to the .java_wrapper script
> > of the Linux JDK in the ports collection. That would also help people who
> > are not building JDK's themselves.
> >
> >     Kees Jan
>
> Two comments:
>
> Lets say I've installed the JDK 1.2.2 port.  I then get short on disk space
> and delete the Linux version.  Then patchset 11 is released and I want to
> upgrade to it (ok, not _me_, but the hypothetical me :).  I shouldn't have
> to reinstall the Linux JDK to do so, but as it stands I do.  This is an
> issue with the port, not what you've said, but it does impact on any
> code that specifically assumes bootstrapping with the Linux JDK.

Nope, hypothetical you will just need to set JDK12DIR to point to the directory
where native jdk12 is installed (e.g. make JDK12DIR=/usr/local/jdk1.2.2).

> My other comment is that the linux-jdk port should do what all the other
> Linux ports do in terms of Linux emulation.  If they turn it on, then so
> should the linux-jdk port.  It would seem sensible that installing a Linux
> based port should turn on linux emulation if its not already on, but its
> something that needs to be consistent across the board IMO.

Seconded.

-Maxim



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A0A7E7F.5CC4E8FF>