Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Seems that the JDK link is unavailable #73

Open
yncxcw opened this issue May 23, 2017 · 2 comments
Open

Seems that the JDK link is unavailable #73

yncxcw opened this issue May 23, 2017 · 2 comments

Comments

@yncxcw
Copy link

yncxcw commented May 23, 2017

hi,

I am trying to build this image from scratch. I found the JDK link was unavailable now.

Please double check.

Here is the error I got:

Step 12 : RUN rpm -i jdk-7u71-linux-x64.rpm
 ---> Running in 4a06a703e69f
error: open of <html> failed: No such file or directory
error: open of <head> failed: No such file or directory
error: open of <title>Error failed: No such file or directory
error: open of Page failed: No such file or directory
error: open of 404</title> failed: No such file or directory
error: open of <base failed: No such file or directory
error: open of href=http://download.oracle.com/index.html failed: No such file or directory
error: open of /> failed: No such file or directory
error: open of <META failed: No such file or directory
error: open of NAME=ROBOTS failed: No such file or directory
error: open of CONTENT=NOINDEX, NOFOLLOW> failed: No such file or directory
error: open of <link failed: No such file or directory
error: open of rel=stylesheet failed: No such file or directory
error: open of type=text/css failed: No such file or directory
error: open of href=/errors/us/assets/hp-styles.css failed: No such file or directory
error: open of /> failed: No such file or directory
error: open of <link failed: No such file or directory
error: open of rel=stylesheet failed: No such file or directory
error: open of type=text/css failed: No such file or directory
error: open of href=/errors/us/assets/master-master.css failed: No such file or directory
error: open of /> failed: No such file or directory
error: open of <body failed: No such file or directory
error: open of style=margin: 0px failed: No such file or directory
error: open of bgcolor= failed: No such file or directory
error: open of <div failed: No such file or directory
error: open of id=banner> failed: No such file or directory
error: open of <table failed: No such file or directory
error: open of width=100% failed: No such file or directory
error: open of border=0 failed: No such file or directory
error: open of cellspacing=0 failed: No such file or directory
error: open of cellpadding=0> failed: No such file or directory
error: open of <tr> failed: No such file or directory
error: open of <td failed: No such file or directory
error: open of rowspan=2 failed: No such file or directory
error: open of valign=middle failed: No such file or directory
error: open of nowrap><a failed: No such file or directory
error: open of href=http://www.oracle.com><img failed: No such file or directory
error: open of src=/errors/us/assets/oralogo-small.gif failed: No such file or directory
error: open of width=154 failed: No such file or directory
error: open of height=19 failed: No such file or directory
error: open of hspace=10 failed: No such file or directory
error: open of vspace=25 failed: No such file or directory
error: open of border=0 failed: No such file or directory
error: open of ></a></td> failed: No such file or directory
error: open of <td failed: No such file or directory
error: open of align=right failed: No such file or directory
error: open of valign=top failed: No such file or directory
error: open of width=70% failed: No such file or directory
error: open of nowrap failed: No such file or directory
error: open of class=padMid><div failed: No such file or directory
error: open of id=bannerMid> failed: No such file or directory
error: open of </div></td> failed: No such file or directory
error: open of <td failed: No such file or directory
error: open of width=30% failed: No such file or directory
error: open of align=left failed: No such file or directory
error: open of valign=bottom failed: No such file or directory
error: open of nowrap></td> failed: No such file or directory
error: open of </tr> failed: No such file or directory
error: open of <tr> failed: No such file or directory
error: open of <td failed: No such file or directory
error: open of align=right failed: No such file or directory
error: open of valign=bottom failed: No such file or directory
error: open of nowrap failed: No such file or directory
error: open of class=padMid></td> failed: No such file or directory
error: open of <td failed: No such file or directory
error: open of width=30% failed: No such file or directory
error: open of align=left failed: No such file or directory
error: open of valign=bottom failed: No such file or directory
error: open of nowrap></td> failed: No such file or directory
error: open of </tr> failed: No such file or directory
error: open of </table> failed: No such file or directory
error: open of </div> failed: No such file or directory
error: open of <!-- failed: No such file or directory
error: open of Header failed: No such file or directory
error: open of END failed: No such file or directory
error: open of //--> failed: No such file or directory
error: open of <table failed: No such file or directory
error: open of BORDER=0 failed: No such file or directory
error: open of CELLPADDING=0 failed: No such file or directory
error: open of CELLSPACING=0 failed: No such file or directory
error: open of WIDTH=100%> failed: No such file or directory
error: open of <tr> failed: No such file or directory
error: open of <TD failed: No such file or directory
error: open of WIDTH=10><IMG failed: No such file or directory
error: open of SRC=/errors/us/assets/spacer.gif failed: No such file or directory
error: open of BORDER=0 failed: No such file or directory
error: open of ALT= failed: No such file or directory
error: open of WIDTH=10></TD> failed: No such file or directory
error: open of <td><table failed: No such file or directory
error: open of width=100% failed: No such file or directory
error: open of border=0 failed: No such file or directory
error: open of cellspacing=0 failed: No such file or directory
error: open of cellpadding=0> failed: No such file or directory
error: open of <tr> failed: No such file or directory
error: open of <td><IMG failed: No such file or directory
error: open of SRC=/errors/us/assets/spacer.gif failed: No such file or directory
error: open of BORDER=0 failed: No such file or directory
error: open of ALT= failed: No such file or directory
error: open of height=15></td> failed: No such file or directory
error: open of </tr> failed: No such file or directory
error: open of <tr> failed: No such file or directory
error: open of <td><h1>Were sorry, the page you requested was not found.</h1></td> </tr> <tr> <td><IMG SRC="/errors/us/assets/spacer.gif" BORDER=0 ALT="" height="5"></td> </tr> <tr> <td>We have recorded this error (404) to help us fix the problem.<br> You may wish to try again using one of the tools below. </td> </tr> <tr> <td><IMG SRC="/errors/us/assets/spacer.gif" BORDER=0 ALT="" height="5"></td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="2" cellspacing="2"> <tr valign="middle"> <td align="right" valign="top" width="2%"><img src="/errors/us/assets/004894.gif" width="7" height="7" vspace="3"></td> <td><a href="javascript:history.back(-1)">Back to Previous Page</a></td> </tr> <tr valign="middle"> <td align="right" valign="top"><img src="/errors/us/assets/004894.gif" width="7" height="7" vspace="3"></td> <td><a href="http://www.oracle.com/us/sitemaps/index.html </tr> <tr valign="middle"> <td align="right" valign="top"><img src="/errors/us/assets/004894.gif" width="7" height="7" vspace="3"></td> <td><a href="http://www.oracle.com/technetwork/indexes/products/index.html">Product Index</a></td> </tr> <tr valign="middle"> <td align="right" valign="top"><img src="/errors/us/assets/004894.gif" width="7" height="7" vspace="3"></td> <td><a href="http://www.oracle.com/technetwork/indexes/downloads/index.html">Software Download Index</a></td> </tr> <tr valign="middle"> <td align="right" valign="top"><img src="/errors/us/assets/004894.gif" width="7" height="7" vspace="3"></td> <td>To <strong>search</strong> for your page, try our Search function.</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="99%"><form name=searchForm onSubmit="javascript: return isNotNull(this.keyword.value)" action="http://search.oracle.com/search/search" method=get target="_top"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td width="23">&nbsp;&nbsp;</td> <td align="left"><input type="hidden" name="default" value="true"/> <input class="textA" name="keyword" size="35" maxlength="2048" value="search site" onClick="javascript: document.searchForm.keyword.value = " title="Search"/> <input type="hidden" name="start" value="1"/> </td> <td align="left">&nbsp;&nbsp;</td> <td align="left"><input type="hidden" name="nodeid" value=""/> <input type="hidden" name="fid" value=""/> <input type="hidden" name="showSimilarDoc" value="true"/> <select name="group" onChange="javascript: setFormValues(document.searchForm,document.searchForm.group.value)" class="textA" size=1> <option value="All">All</option> <option value="Oracle Technology Network" selected="selected">Technology Network</option> <option value="Oracle PartnerNetwork (Public)">PartnerNetwork (Public Only)</option> <!-- <option value="Documentation">Documentation</option> --> <option value="Video and Multimedia">Video and Multimedia</option> </select> </td> <td align="left">&nbsp;</td> <td align="left"><a onClick="javascript: return isNotNull(document.searchForm.keyword.value)" href="javascript:document.searchForm.submit()"> <img src="/errors/us/assets/search-icon-search-icon.gif" width="21" height="20" vspace="1" hspace="1" border="0" /></a></td> <td align="left">&nbsp;&nbsp;</td> <td align="left"><a href="http://search.oracle.com/search/search" class="suggestedLink">Refine Search</a></td> </tr> </table> </form></td> </tr> </table> <br> <div id="footer"> <table width="100%"  border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%" class="legalese" align="right" valign="top">&nbsp;</td> <td width="50%" class="legalese" align="left" valign="top" >&nbsp;</td> </tr> <tr> <td width="50%" class="legalese" align="left" valign="top">&nbsp;</td> <td width="50%" class="legalese" align="right" valign="top"><a class=legalese href="http://www.oracle.com/rss/index.html" target="_top">RSS <img src="/errors/us/assets/feed-icon-14x14.png" width="14" height="14" border="0"></A><span class=navlink> | </span> <a class=legalese href="http://www.oracle.com/html/copyright.html" target="_top">Legal Notices and Terms for Use</a><span class=navlink> | </span> <a class=legalese href="http://www.oracle.com/html/privacy.html" target="_top">Privacy Statement</a><br /> </td> </tr> <tr> <td width="50%" class="legalese" align="right" valign="top">&nbsp;</td> <td width="50%" class="legalese" align="left" valign="top" ></td> </tr> </table> </div> </td> <TD WIDTH="10"><IMG SRC="/errors/us/assets/spacer.gif" BORDER=0 ALT="" WIDTH="10"></TD> </tr> </table> </body> </html>  failed: File name too long
@rsaroniero
Copy link

I solved this by just added the jdk to the folder containing the dockerfile and adding it instead of downloading it from the Oracle side.
ADD jdk-7u80-linux-x64.rpm /usr/local RUN rpm -i /usr/local/jdk-7u80-linux-x64.rpm RUN rm /usr/local/jdk-7u80-linux-x64.rpm

@firefox7025
Copy link

The other option is to upgrade the JDK to 8, which is

java

RUN curl -LO 'http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.rpm' -H 'Cookie: oraclelicense=accept-securebackup-cookie'
RUN rpm -i jdk-8u131-linux-x64.rpm
RUN rm jdk-8u131-linux-x64.rpm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants