Oh, one other more general question: Has anybody built OpenJDK successfully using Ubuntu Server? (I just need a quick build VM, I don’t necessarily need all the GUI bells and whistles, in many/most cases.)
I know AdoptOpenJDK has a Docker image, too, but I’m not sure how to use it and sort of gave up fairly quickly when it wasn’t brutally obvious. (I can’t tell if the Docker image there includes the source or not, and/or if the source would need to be mounted in a separate volume, and how then it would be updated when new changes are made, etc.) I should probably figure all that out, but I was trying to go with the least-amount-of-work path to get to a slowdebug version of the OpenJDK that I could use for some diagnostic purposes for digging into the G1 GC. Ted Neward Author, Speaker, Mentor http://www.newardassociates.com t: @tedneward | m: (425) 647-4526 On 11/23/17, 3:14 AM, "dalibor topic" <dalibor.to...@oracle.com> wrote: Probably - jdk8/jdk8 is the GA source code from a few years ago. jdk8u/jdk8u is the latest JDK 8 updates. cheers, dalibor topic On 23.11.2017 12:12, Ted Neward wrote: > Errr….. What’s the difference, again? > > I cloned java.net/jdk8/jdk8, which is what I thought was the correct repo—is there a new URL? I haven’t done this in a while, so I jumped onto Google and took the first URL in a description that seemed correct. Am I trying to clone the wrong repo? > > Ted Neward > Author, Speaker, Mentor > http://www.newardassociates.com > t: @tedneward | m: (425) 647-4526 > > On 11/23/17, 3:08 AM, "build-dev on behalf of dalibor topic" <build-dev-boun...@openjdk.java.net on behalf of dalibor.to...@oracle.com> wrote: > > You're not trying to build jdk8/jdk8 instead of jdk8u/jdk8u, right? > > cheers, > dalibor topic > > On 23.11.2017 11:50, Ted Neward wrote: > > Yeah, I’ve got build-dep and openjdk-8. I’ll have a look at the source, but this begs a question: Why hasn’t it been backported to the JDK8 repo, if it’s a known fix? > > > > Ted Neward > > Author, Speaker, Mentor > > http://www.newardassociates.com > > t: @tedneward | m: (425) 647-4526 > > > > On 11/23/17, 2:32 AM, "John Paul Adrian Glaubitz" <glaub...@physik.fu-berlin.de> wrote: > > > > Hi Ted! > > > > On 11/23/2017 11:23 AM, Ted Neward wrote: > > > When I run it, there’s a problem about OS version detection, which I found a fix > > > for, but then it appears that there’s some kind of syntax error in a generate makefile. > > > Before I attach a ridiculously long logfile, does anybody have a quick fix or know where > > > I should go to get the fix? > > > > I suggest having a look at the Debian packaging source for the openjdk-8 package > > which is also used in Ubuntu (the maintainer is Matthias Klose in both cases) [1]. > > > > Have a look at the patches in debian/patches as well as the build script in debian/ > > rules. This should give you the right idea on what is necessary to OpenJDK 8 build > > on Ubuntu. > > > > Please also make sure you have the necessary build dependencies installed: > > > > # apt build-dep openjdk-8 > > > > Adrian > > > > > [1] http://bazaar.launchpad.net/~openjdk/openjdk/openjdk8/files > > > > -- > > .''`. John Paul Adrian Glaubitz > > : :' : Debian Developer - glaub...@debian.org > > `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de > > `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 > > > > > > > > -- > <http://www.oracle.com> Dalibor Topic | Principal Product Manager > Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961 > <tel:+491737185961> > > ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg > > ORACLE Deutschland B.V. & Co. KG > Hauptverwaltung: Riesstr. 25, D-80992 München > Registergericht: Amtsgericht München, HRA 95603 > > Komplementärin: ORACLE Deutschland Verwaltung B.V. > Hertogswetering 163/167, 3543 AS Utrecht, Niederlande > Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 > Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher > > <http://www.oracle.com/commitment> Oracle is committed to developing > practices and products that help protect the environment > > > -- <http://www.oracle.com> Dalibor Topic | Principal Product Manager Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961 <tel:+491737185961> ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 München Registergericht: Amtsgericht München, HRA 95603 Komplementärin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment