Subject: Re: {pkgsrc-users} Re: lang/sun-jre15 on 4.0_BETA2 (amd64)
To: Adrian Portelli <adrianp@stindustries.net>
From: Brian de Alwis <bsd@cs.ubc.ca>
List: pkgsrc-users
Date: 03/30/2007 11:02:48
On 2007.03.30 17:22:52 +0100, Adrian Portelli wrote:
> Nicolas Joly wrote:
> > I would try to switch to 2.6 for NPTL emulation ...
> > 
> > sysctl -w emul.linux.kern.osrelease=2.6.20
> > 
> 
> Brilliant.  This fixed it, thanks very much.

Well that's interesting: I'm running sun-jre15/jdk15 on a somewhat
out-of-date -current (4.99.9: pre-removal of SAs) with
emul.linux.kern.osrelease = 2.4.18 with no problems:

    $ sysctl emul.linux.kern.osrelease
    emul.linux.kern.osrelease = 2.4.18
    $ /usr/pkg/java/sun-1.5/bin/java -version -verbose
    java version "1.5.0_11"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)

Sounds like it might be something deeper?  File a PR?

Brian.

-- 
  Brian de Alwis | Software Practices Lab | UBC | http://www.cs.ubc.ca/~bsd/
      "Amusement to an observing mind is study." - Benjamin Disraeli