JDK 11 update

Greg Lewis glewis at eyesbeyond.com
Tue Mar 12 02:16:08 UTC 2019


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 at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


More information about the freebsd-java mailing list