Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2019 19:15:55 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Michael Osipov <1983-01-06@gmx.net>
Cc:        freebsd-java@freebsd.org
Subject:   Re: JDK 11 update
Message-ID:  <20190312021555.GA66236@misty.eyesbeyond.com>
In-Reply-To: <bc164ec4-0096-9f79-2161-6182fbc3ea0c@gmx.net>
References:  <20190308180402.GA61500@misty.eyesbeyond.com> <091b2780-f2f1-6423-0dd7-e0d2849bac84@gmx.net> <20190311045937.GA43260@misty.eyesbeyond.com> <bc164ec4-0096-9f79-2161-6182fbc3ea0c@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 11, 2019 at 11:53:12PM +0100, Michael Osipov wrote:
> Am 2019-03-11 um 05:59 schrieb Greg Lewis:
> > On Sat, Mar 09, 2019 at 09:15:42PM +0100, Michael Osipov wrote:
> >> Am 2019-03-08 um 19:04 schrieb Greg Lewis:
> >>> For those who want to try and compile it, the current commands I'm using
> >>> look like this:
> >>>
> >>> env CPPFLAGS=-I/usr/local/include \
> >>>       LDFLAGS=-L/usr/local/lib \
> >>>       CC=/usr/bin/cc \
> >>>       CXX=/usr/bin/c++ \
> >>>       bash configure \
> >>>           --with-boot-jdk=/usr/local/openjdk11 \
> >>
> >> Ouch, isn't this a chicken-and-egg problem here? How did you solve this
> >> prolbem? I really hate that Java is not selfcontained...
> > 
> > See the link to the pull request I posted later in the email:
> > 
> > https://github.com/battleblow/openjdk-jdk11u/pull/1
> 
> As far as I understand Kurt's approach, here's using a precompiled 
> version on Ubuntu via SSH to produce portable Java bytecode? If so, that 
> looks pretty insane and brittle to me, doesn't it?
> 
> I have expected that we run BSD on BSD, no further deps.
> 
> Please correct me if I am wrong.

Someone has to bootstrap JDK 11 on FreeBSD/i386 for the first time.

The simplest way to do that is the technique Kurt and I used for amd64.
I used a slight variant where I had a Samba mount rather than NFS, but
any remote file system will do essentially.

Once one person has done it to the point where they have a self hosting
FreeBSD/i386 JDK 11, then that can be packaged into the soon to be
committed bootstrap-openjdk11 port.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190312021555.GA66236>