Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 2000 09:27:04 +1030 (CST)
From:      Greg Lewis <glewis@trc.adelaide.edu.au>
To:        "Koster, K.J." <K.J.Koster@kpn.com>
Cc:        freebsd-java@FreeBSD.ORG, "'Maxim Sobolev'" <sobomax@FreeBSD.ORG>
Subject:   Re: java was not found in /bin/i386/green_threads/java
Message-ID:  <200011082257.JAA24739@ares.trc.adelaide.edu.au>
In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D79C6@l04.research.kpn.com> from "Koster, K.J." at "Nov 8, 2000 10:29:20 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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.

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.

Your point that this is an FAQ and something should be done about it is
a good one though :).

					- Greg


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?200011082257.JAA24739>