On Sat, Nov 20, 2010 at 11:57 AM, Patrick Reinhart <patr...@reini.net> wrote: > On Wed, 2010-11-17 at 10:37 +0200, Damjan Jovanovic wrote: > >> > How do I specify those suggested ANT parameters with the make command? >> > > >> export ALLOW_DOWNLOADS=true > > This would work if the SSL certificate for the used server, would be > correct and not being issued for www.java.net ... :-( > >> -jaxp_src-url-bundle: >> [echo] Downloading from >> https://jaxp.dev.java.net/files/documents/913/152561/jaxp-1_4_4.zip >> [get] Getting: >> https://jaxp.dev.java.net/files/documents/913/152561/jaxp-1_4_4.zip >> [get] >> To: >> /home/pr/hgrepos/jdk7/build/linux-amd64/jaxp/drop/bundles/jaxp-1_4_4.zip.temp >> [get] Error getting >> https://jaxp.dev.java.net/files/documents/913/152561/jaxp-1_4_4.zip >> to >> /home/pr/hgrepos/jdk7/build/linux-amd64/jaxp/drop/bundles/jaxp-1_4_4.zip.temp >> >> BUILD FAILED >> javax.net.ssl.SSLHandshakeException: >> java.security.cert.CertificateException: No subject alternative DNS >> name matching jaxp.dev.java.net found. > > I get the feeling, that it seems that I am the only one, that tries to > build OpenJDK the first time from scratch. > > Or have I done this all completely wrong, trying to build that way? > > Patrick > > >
There is a workaround for that: you download the jaxp files yourself, and put them in export ALT_DROPS_DIR=/path/to/some/directory If you can't download them from the URL that OpenJDK tries to download them from, Google for the project and look for the filename on its list of downloads.