阿里云
阿里云多端小程序中小企业获客首选
发表主题 回复主题
  • 12290阅读
  • 5回复

[分享]新手记一次安装jdk报错“erroropenof”

级别: 新人
发帖
5
云币
10
<<M1:1  
一起己电脑装的centos7也是因为这个原因导致不能安装sun jdk p-o8Ctc?V  
原因是通过wget没能重定向下载到正式的文件 原来的命令如下 =73aME}  
wget --no-cookie --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F" ht tp://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-x64.rpm nQaryL  
在搞了一晚上后偶然看到一个国外网站说下载的文件大小不对 一看还真是只有5307(5.2k) =v:}{~M^$  
后来开始找怎样才能通过wget下载的想要的文件 \'9(zbvz9  
找到这个帖子htt p://www.wiloon.com/wordpress/?p=5805 9pMXjsE   
看了这个ht tp://www.iteye.com/topic/1125585 -%)S~ R  
最后这个命令解决wget --no-cookie --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F" htt p://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-x64.rpm?AuthParam=1435975281_b48160b32ebf93d8cbc9eaa84bf42f94 4o69t  
N eC]MW  
mTU[khEmL=  
P|tNmv[;  
?[#4WH-G  
Y~Z&h?H'}  
C-sFTf7  
9'Cu9nR  
VoC|z Rd_  
为了让别人通过错误搜到这个答案 我决定了 我要把错误全贴出来 EL^j}P  
U9Gg#M4tY  
[root@iZ280qkcdxoZ java]# rpm -ivh jdk-8u45-linux-x64.rpm 's\rQ-TV  
error: open of <html> failed: No such file or directory E|"QYsi.Ck  
error: open of <head> failed: No such file or directory u$rSM0CJ  
error: open of <title>Unauthorized failed: No such file or directory $[U:Dk}  
error: open of Request</title> failed: No such file or directory o\N^Uu  
error: open of <META failed: No such file or directory xFA+Zj BC  
error: open of NAME=ROBOTS failed: No such file or directory j*_>/gi  
error: open of CONTENT=NOINDEX, NOFOLLOW> failed: No such file or directory IO{iQ-Mg  
error: open of <link failed: No such file or directory Z \S'HNU  
error: open of rel=stylesheet failed: No such file or directory wJg&OQc9  
error: open of type=text/css failed: No such file or directory (YY!e2  
error: open of href=/errors/us/assets/hp-styles.css failed: No such file or directory },%, v2}  
error: open of /> failed: No such file or directory 8E|FFHNK<2  
error: open of <link failed: No such file or directory ^%t{:\  
error: open of rel=stylesheet failed: No such file or directory xMA2S*%ca  
error: open of type=text/css failed: No such file or directory r"W<1H u  
error: open of href=/errors/us/assets/master-master.css failed: No such file or directory ,veo/k<"r8  
error: open of /> failed: No such file or directory $]~|W3\G  
error: open of <body failed: No such file or directory {k)H.zwe  
error: open of style=margin: 0px failed: No such file or directory H><! C  
error: open of bgcolor= failed: No such file or directory >a)6GZ@  
error: open of <div failed: No such file or directory (G 9Ku 8Y  
error: open of id=banner> failed: No such file or directory GiKmB-HO  
error: open of <table failed: No such file or directory ~EO=;a_  
error: open of width=100% failed: No such file or directory , L5.KwB  
error: open of border=0 failed: No such file or directory Q5c13g2(c  
error: open of cellspacing=0 failed: No such file or directory OyATb{`'  
error: open of cellpadding=0> failed: No such file or directory ?jn";:  
error: open of <tr> failed: No such file or directory ;5:3 =F>ao  
error: open of <td failed: No such file or directory l<p6zD$l  
error: open of rowspan=2 failed: No such file or directory jF 6[+bW<  
error: open of valign=middle failed: No such file or directory zvKypx  
error: open of nowrap><a failed: No such file or directory J\Z\q  
error: open of href=http://www.oracle.com><img failed: No such file or directory vqRW^>~-B  
error: open of src=/errors/us/assets/oralogo-small.gif failed: No such file or directory Q@- h  
error: open of width=154 failed: No such file or directory Ql9 )  
error: open of height=19 failed: No such file or directory fYzZW  
error: open of hspace=10 failed: No such file or directory Jm3iYR+,  
error: open of vspace=25 failed: No such file or directory X`0`A2 n  
error: open of border=0 failed: No such file or directory ol@LLT_m  
error: open of ></a></td> failed: No such file or directory N=;VS-  
error: open of <td failed: No such file or directory c59l/qoz  
error: open of align=right failed: No such file or directory w6 .J&O  
error: open of valign=top failed: No such file or directory ^:]~6p#  
error: open of width=70% failed: No such file or directory i]IZ0.?Y  
error: open of nowrap failed: No such file or directory YCu9dBeVS  
error: open of class=padMid><div failed: No such file or directory nX-%qc"  
error: open of id=bannerMid> failed: No such file or directory qh 9Ix  
error: open of </div></td> failed: No such file or directory 84YZT+TEN  
error: open of <td failed: No such file or directory r^!P=BS{  
error: open of width=30% failed: No such file or directory ;T?4=15c  
error: open of align=left failed: No such file or directory /@f3|L<1@V  
error: open of valign=bottom failed: No such file or directory M\jTeB"Z  
error: open of nowrap></td> failed: No such file or directory hFr?84sAd  
error: open of </tr> failed: No such file or directory \&5t@sC  
error: open of <tr> failed: No such file or directory EFS2 zU  
error: open of <td failed: No such file or directory Wo~#R   
error: open of align=right failed: No such file or directory *8j2iu-|  
error: open of valign=bottom failed: No such file or directory K;#9: Z^+  
error: open of nowrap failed: No such file or directory PH3#\ v.   
error: open of class=padMid></td> failed: No such file or directory 'U3+'du^8  
error: open of <td failed: No such file or directory 1U;p+k5c  
error: open of width=30% failed: No such file or directory xbhU:,o  
error: open of align=left failed: No such file or directory J,]U"+;H  
error: open of valign=bottom failed: No such file or directory [G[|auKF  
error: open of nowrap></td> failed: No such file or directory 9?#L/  
error: open of </tr> failed: No such file or directory mo- Y %  
error: open of </table> failed: No such file or directory nnPY8pdjSD  
error: open of </div> failed: No such file or directory JJ$q*  
error: open of <!-- failed: No such file or directory ]M5w!O!  
error: open of Header failed: No such file or directory QL_9a,R'r  
error: open of END failed: No such file or directory Zjx:1c= b  
error: open of //--> failed: No such file or directory ]EZiPW-uy  
error: open of <table failed: No such file or directory m'P,:S)=  
error: open of BORDER=0 failed: No such file or directory E/_I$<,_y  
error: open of CELLPADDING=0 failed: No such file or directory zVU{jmS  
error: open of CELLSPACING=0 failed: No such file or directory wc#E:GJcK  
error: open of WIDTH=100%> failed: No such file or directory *eonXJYD  
error: open of <tr> failed: No such file or directory yq2pg8%  
error: open of <TD><IMG failed: No such file or directory }{.0mu9  
error: open of SRC=/errors/us/assets/spacer.gif failed: No such file or directory 5x:dhkW  
error: open of BORDER=0 failed: No such file or directory @?r[ $Ea1M  
error: open of ALT=></TD> failed: No such file or directory -*T<^G;rK  
error: open of <td><table failed: No such file or directory a{FCg%vD)  
error: open of width=100% failed: No such file or directory T,D(Xh  
error: open of border=0 failed: No such file or directory ckTk2xPQ  
error: open of cellspacing=0 failed: No such file or directory OW|5IEC  
error: open of cellpadding=0> failed: No such file or directory )IH|S5mG?  
error: open of <tr> failed: No such file or directory ~!& "b1  
error: open of <td><IMG failed: No such file or directory H${5pY_M  
error: open of SRC=/errors/us/assets/spacer.gif failed: No such file or directory 86AZ)UP2D  
error: open of BORDER=0 failed: No such file or directory Z.D O 2=+=  
error: open of ALT= failed: No such file or directory %P2l@}?a  
error: open of height=15></td> failed: No such file or directory g VPtd[r  
error: open of </tr> failed: No such file or directory @jxAU7!  
error: open of <tr> failed: No such file or directory :7 P/ZC%  
error: open of <td><h1>Sorry!</h1></td> failed: No such file or directory aF41?.s  
error: open of </tr> failed: No such file or directory t.`&Q|a  
error: open of <tr> failed: No such file or directory C@3`n;yZ=  
error: open of <td><IMG failed: No such file or directory +-*Ww5Zti  
error: open of SRC=/errors/us/assets/spacer.gif failed: No such file or directory >{HQ"{Q  
error: open of BORDER=0 failed: No such file or directory G)G 257K"~  
error: open of ALT= failed: No such file or directory zv8AvNDK  
error: open of height=5></td> failed: No such file or directory 4{rqGC /  
error: open of </tr> failed: No such file or directory c&GVIrJ  
error: open of <tr> failed: No such file or directory f~0CpB*X  
error: open of <td failed: No such file or directory gZHuyp(B  
error: open of colspan=2>In failed: No such file or directory _ / >JM0  
error: open of order failed: No such file or directory NrK.DY4  
error: open of to failed: No such file or directory L]kd.JJvy  
error: open of download failed: No such file or directory R0A|} Ee*  
error: open of products failed: No such file or directory }83a^E9L  
error: open of from failed: No such file or directory js..k*j  
error: open of Oracle failed: No such file or directory bQlvb  
error: open of Technology failed: No such file or directory !jTtMx  
error: open of Network failed: No such file or directory u$38"&cmA  
error: open of you failed: No such file or directory / :z<+SCh  
error: open of must failed: No such file or directory @/,:". SM  
error: open of agree failed: No such file or directory je`Ysben  
error: open of to failed: No such file or directory SIridZ*%  
error: open of the failed: No such file or directory !y\r.fm!A  
error: open of OTN failed: No such file or directory #=g1V?D  
error: open of license failed: No such file or directory RH}i=  
error: open of terms.</td> failed: No such file or directory [p+-]V  
error: open of </tr> failed: No such file or directory o"!C8s_6  
error: open of <tr> failed: No such file or directory 7M/v[dwL  
error: open of <td><IMG failed: No such file or directory ZccvZl ;b  
error: open of SRC=/errors/us/assets/spacer.gif failed: No such file or directory 2<FEn$n[  
error: open of BORDER=0 failed: No such file or directory cE;n>ta"F  
error: open of ALT= failed: No such file or directory DYDeb i6  
error: open of height=5></td> failed: No such file or directory "qrde4O  
error: open of </tr> failed: No such file or directory " vka7r  
error: open of <tr> failed: No such file or directory ![i)_XO  
error: open of <td><IMG failed: No such file or directory @PT([1C  
error: open of SRC=/errors/us/assets/spacer.gif failed: No such file or directory jNvDE}'  
error: open of BORDER=0 failed: No such file or directory \i'Z(1  
error: open of ALT= failed: No such file or directory @jxP3:s  
error: open of height=5></td> failed: No such file or directory M u i\E  
error: open of </tr> failed: No such file or directory @y'0_Y0-B  
error: open of <tr> failed: No such file or directory O9C&1A|lA  
error: open of <td failed: No such file or directory #;yxn.</  
error: open of colspan=2><strong>Be failed: No such file or directory yeI> b 1>Q  
error: open of sure failed: No such file or directory Z]e`bfNnI  
error: open of that...</strong></td> failed: No such file or directory N=PSr4  
error: open of </tr> failed: No such file or directory !Ii[`H  
error: open of <tr> failed: No such file or directory [j}JCmWY   
error: open of <td><img failed: No such file or directory ~Pj q3etk  
error: open of alt= failed: No such file or directory q;}iW:r&Q  
error: open of src=/errors/us/assets/004894.gif failed: No such file or directory wFX9F3m  
error: open of height=7 failed: No such file or directory XEnu0 gr  
error: open of vspace=3> failed: No such file or directory Sx[ eX,q  
error: open of Your failed: No such file or directory EV?U !O  
error: open of browser failed: No such file or directory 6`@b@Kd  
error: open of has failed: No such file or directory sH.=Faos  
error: open of cookies failed: No such file or directory `BQv;NtP  
error: open of and failed: No such file or directory d:k n%L6k_  
error: open of JavaScript failed: No such file or directory $~S~pvT  
error: open of enabled.</td> failed: No such file or directory L R\LC6kM  
error: open of </tr> failed: No such file or directory @0 'U p  
error: open of <tr> failed: No such file or directory TF%Xb>jy[  
error: open of <td failed: No such file or directory J\Hv42  
error: open of colspan=2><img failed: No such file or directory +J|H~`  
error: open of alt= failed: No such file or directory 0$]iRE;O]  
error: open of src=/errors/us/assets/004894.gif failed: No such file or directory 4EHrd;|   
error: open of height=7 failed: No such file or directory fd4C8>*7G  
error: open of vspace=3> failed: No such file or directory A#6zI NK#B  
error: open of You failed: No such file or directory P`ou:M{8  
error: open of clicked failed: No such file or directory <n4` #d  
error: open of on failed: No such file or directory tEL9hZzI  
error: open of Accept License failed: No such file or directory Lo~ ;pvv  
error: open of for failed: No such file or directory 3*& Y'/!  
error: open of the failed: No such file or directory ni&|;"Nt-  
error: open of product failed: No such file or directory Jup)A`64  
error: open of you failed: No such file or directory v,S5C  
error: open of wish failed: No such file or directory `XhH{*Q"X  
error: open of to failed: No such file or directory : oXSh;\  
error: open of download.</td> failed: No such file or directory {Q3OT  
error: open of </tr> failed: No such file or directory >Jmla~A  
error: open of <tr> failed: No such file or directory &yvvea]  
error: open of <td failed: No such file or directory HJ]xZ83pC  
error: open of colspan=2><img failed: No such file or directory iCPm7AU  
error: open of alt= failed: No such file or directory Hi A E9  
error: open of src=/errors/us/assets/004894.gif failed: No such file or directory 0k5-S~_\  
error: open of height=7 failed: No such file or directory 4 kjfYf@A  
error: open of vspace=3> failed: No such file or directory *3H=t$1G}  
error: open of You failed: No such file or directory uYMn VE"  
error: open of attempt failed: No such file or directory (T_-`N|  
error: open of the failed: No such file or directory 3uocAmY  
error: open of download failed: No such file or directory I&{T 4.B:U  
error: open of within failed: No such file or directory v-tI`Qpb  
error: open of 30 failed: No such file or directory W;Y^(f  
error: open of minutes failed: No such file or directory UDh \%?j  
error: open of of failed: No such file or directory nwU],{(Hgr  
error: open of accepting failed: No such file or directory dS ojq6M  
error: open of the failed: No such file or directory az F!V  
error: open of license.</td> failed: No such file or directory XI\Slq  
error: open of </tr> failed: No such file or directory uQIPnd(V  
error: open of <tr> failed: No such file or directory zr /v.$<  
error: open of <td><IMG failed: No such file or directory  y:RW:D&  
error: open of SRC=/errors/us/assets/spacer.gif failed: No such file or directory w$:\!FImx  
error: open of BORDER=0 failed: No such file or directory ^eh.Iml'@  
error: open of ALT= failed: No such file or directory &VGV0K3 Dp  
error: open of height=5></td> failed: No such file or directory [)Nt;|U  
error: open of </tr> failed: No such file or directory E`o_R=%  
error: open of <tr> failed: No such file or directory V: D;?$Jl  
error: open of <td failed: No such file or directory x/DV>Nfn  
error: open of colspan=2><strong>From failed: No such file or directory A0<g8pv  
error: open of here failed: No such file or directory 9;+&}:IVS  
error: open of you failed: No such file or directory Wx:v~/r  
error: open of can failed: No such file or directory :1A:g^n  
error: open of go...</strong></td> failed: No such file or directory SE+hB  
error: open of </tr> failed: No such file or directory q[\3,Y  
error: open of <tr> failed: No such file or directory :}e<  
error: open of <td><IMG failed: No such file or directory ] 0X|_bU  
error: open of SRC=/errors/us/assets/spacer.gif failed: No such file or directory <=NnrZOF  
error: open of BORDER=0 failed: No such file or directory yv4x.cfI2W  
error: open of ALT= failed: No such file or directory ESCN/ocV  
error: open of height=5></td> failed: No such file or directory K,g6y#1"  
error: open of </tr> failed: No such file or directory @D;K&:~|N  
error: open of <tr> failed: No such file or directory V *@q< rQ  
error: open of <td><IMG failed: No such file or directory JKZVd`fF  
error: open of SRC=/errors/us/assets/spacer.gif failed: No such file or directory ~^2w)-N  
error: open of BORDER=0 failed: No such file or directory ;0dH@b  
error: open of ALT= failed: No such file or directory 05 6K)E  
error: open of height=5></td> failed: No such file or directory A;;#]]48  
error: open of </tr> failed: No such file or directory {N2GRF~c-y  
error: open of </table> failed: No such file or directory T \/^4N`  
error: open of <table failed: No such file or directory 4mDHAR%D  
error: open of width=100% failed: No such file or directory }ppApJT  
error: open of border=0 failed: No such file or directory { 4j<X5V  
error: open of align=center failed: No such file or directory zeMV_rW~  
error: open of cellpadding=2 failed: No such file or directory z\|<h=EU  
error: open of cellspacing=2> failed: No such file or directory Tv|'6P  
error: open of <tr failed: No such file or directory k{f1q>gd  
error: open of valign=middle> failed: No such file or directory 5S4Nx>  
error: open of <td failed: No such file or directory oO tjG3B({  
error: open of align=right failed: No such file or directory %bP+P(vZ  
error: open of valign=top failed: No such file or directory NuO@N r  
error: open of width=2%><img failed: No such file or directory GG#-x$jK  
error: open of src=/errors/us/assets/004894.gif failed: No such file or directory lz`\Q6rZ  
error: open of height=7 failed: No such file or directory wf  ]Wm  
error: open of vspace=3></td> failed: No such file or directory /uWUQ#9  
error: open of <td><a failed: No such file or directory pss')YP.  
error: open of href=javascript:history.back(-1)>Back failed: No such file or directory !\'w>y7  
error: open of to failed: No such file or directory O.dZ3!!+  
error: open of Previous failed: No such file or directory $~8gh>`]  
error: open of Page</a></td> failed: No such file or directory 3mo<O}}  
error: open of </tr> failed: No such file or directory w?D=  
error: open of <tr failed: No such file or directory (1=@.srAzK  
error: open of valign=middle> failed: No such file or directory :30daKo  
error: open of <td failed: No such file or directory n!zB+hW  
error: open of align=right failed: No such file or directory _Q #[IH9  
error: open of valign=top><img failed: No such file or directory [p4([ef '  
error: open of src=/errors/us/assets/004894.gif failed: No such file or directory %Ok#~>c  
error: open of height=7 failed: No such file or directory F4=X(P_6  
error: open of vspace=3></td> failed: No such file or directory -qSGa;PJ  
error: open of <td><a failed: No such file or directory &4wSX{c/P  
error: open of 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 height=7 vspace=3></td> <td><a href=http://www.oracle.com/technetwork/index.html>OTN Homepage</a></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> </td> <td width=50% class=legalese align=left valign=top > </td> </tr> <tr> <td width=50% class=legalese align=left valign=top> </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> </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: No such file or directory VKPsg  
G$)q% b;Lz  
本帖最近评分记录: 1 条评分 云币 +1
光山居士 云币 +1 ECS云服务器2折起_1块钱/天 https://iil.ink/quanmin293 04-12
级别: 程序猿
发帖
231
云币
271
只看该作者 沙发  发表于: 2015-07-04
看到你这一路走的艰辛!这错误你应该折腾了一个通宵
级别: 程序猿
发帖
408
云币
407
只看该作者 板凳  发表于: 2015-07-04
Re新手记一次安装jdk报错“erroropenof”
楼主这样好麻烦 {rF9[S"h  
~1Ffu x  
最简单的办法是下载tar.gz 包直接用,比如jdk-8u45-linux-x64.tar.gz(centos 5 / 6 / 7 都可以装,fedora系列系统也可以这样装) A/Sj>Y1j  
http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-x64.tar.gz uowdzJ7  
 l:a#B  
1.把jdk-8u45-linux-x64.tar.gz解压到/usr/local目录,形成/usr/local/jdk1.8.0_45 e=!sMWx6  
A0ZU #"'/  
2.在/etc/profile.d/目录下建立一个jdk1.8.sh文件,内容为以下内容: Ln4Dq[M  
JAVA_HOME=/usr/local/jdk1.8.0_45/ OJFWmZ(X  
JAVA_BIN=/usr/local/jdk1.8.0_45/bin/ {XXnMO4uR;  
JRE_HOME=/usr/local/jdk1.8.0_45/jre/ _GoFwVO  
JRE_BIN=/usr/local/jdk1.8.0_45/jre/bin/ 4?_^7(%p  
CLASSPATH=/usr/local/jdk1.8.0_45/jre/lib:/usr/local/jdk1.8.0_45/lib:/usr/local/jdk1.8.0_45/jre/lib/charsets.jar ws;|fY  
PATH=$PATH:$JAVA_BIN:$JRE_BIN !@h)3f]`1G  
export JAVA_HOME JAVA_BIN JRE_HOME JRE_BIN PATH CLASSPATH +}g6X6m  
msq2/sS~  
3.输入命令: @6y)wA9Yx  
chmod +x /etc/profile.d/jdk1.8.sh kb\\F:w(W  
source /etc/profile.d/jdk1.8.sh ]~pM;6Pu0  
/usr/sbin/setenforce 0 bhKe"#m|S  
0Y!~xyg/  
搞定收工 1_mqPMm  
OL.{lKJ3DV  
%YG[?"P'  
这样装的好处是以后升级直接删除/usr/local/下的jdk目录,把新版本重新解压到/usr/local/目录下,最后修改下/etc/profile.d/jdk1.8.sh文件里的路径就行了 2\"T&  
~T=a]V  
`{ \)Wuw  
^_=bssaOd  
[mo9?  
[ 此帖被买醉在2015-07-04 13:05重新编辑 ]
级别: 科学怪人
发帖
6261
云币
9942

只看该作者 地板  发表于: 2015-07-04
没必要非用7吧,6.5也不错啊
级别: 新人
发帖
1
云币
1
只看该作者 4楼 发表于: 2017-03-22
Re新手记一次安装jdk报错“erroropenof”
我i就是通过搜索找过来的 ,特意注册了账号 真的谢谢楼主
级别: 新人
发帖
1
云币
1
只看该作者 5楼 发表于: 2018-11-26
Re新手记一次安装jdk报错“erroropenof”
谢谢楼主 a-NicjV#  
特意注册 8-x)8B  
注好人一生没bug
发表主题 回复主题
« 返回列表上一主题下一主题

限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
验证问题: 3 - 2 = ?
上一个 下一个
      ×
      全新阿里云开发者社区, 去探索开发者的新世界吧!
      一站式的体验,更多的精彩!
      通过下面领域大门,一起探索新的技术世界吧~ (点击图标进入)