JDK 8 Build Issue(s)

Erik Joelsson erik.joelsson at oracle.com
Mon Jul 23 16:48:37 UTC 2018


When you say "JDK 8", which repository did you clone? The recommendation 
is either of http://hg.openjdk.java.net/jdk8u/jdk8u or 
http://hg.openjdk.java.net/jdk8u/jdk8u-dev. The latter if you intend to 
do development. That's the source that is being updated and maintained 
with security patches. It's also much more likely to be buildable on 
newer versions of Linux.

If you cloned http://hg.openjdk.java.net/jdk8/jdk8, then you got the 
source used to build the very first release of JDK 8 back in 2014. That 
source is very unlikely to be buildable on any modern Linux at this 
point and does not contain any security updates since 2014.

/Erik


On 2018-07-22 08:15, mr rupplin wrote:
> Great.  I tried JDK 8 as base and it gave the generic linux error at build.
>
> Thanks.
> ________________________________
> From: David Buck <david.buck at oracle.com>
> Sent: Sunday, July 22, 2018 7:34 AM
> To: mr rupplin
> Cc: build-dev at openjdk.java.net
> Subject: Re: JDK 8 Build Issue(s)
>
> Hi Max!
>
> Not much to go on here [0]. For what it's worth, I was able to clone
> 8u-dev and build it on Mint 18.3 Cinnamon (w/ JDK 7u80 as the boot JDK)
> without any issues. The Mint VM image I used was new and the only thing
> I did before building the JDK was run an apt-get update/upgrade cycle
> and apt-get install g++).
>
> I would also point out that Mint is not one of the platforms officialy
> supported by Oracle for building JDK 8 [1]. While Mint and other
> Ubuntu-based systems tend to work pretty well for building OpenJDK, you
> might have an easier time starting off by building on something closer
> to what we develop and test on.
>
> Cheers,
> -Buck
>
> [0] http://www.catb.org/esr/faqs/smart-questions.html
>
> [1] https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms
>
> On 2018/07/22 0:17, mr rupplin wrote:
>> I get a cannot compile for a "generic linux" when trying to build OpenJDK 8 on Mint.
>>
>> Thanks,
>>
>> Mr. Rupplin
>>
>> /sr software dev
>>




More information about the build-dev mailing list