Java:javax.net.ssl.SSLHandshakeException:收到致命警报:handshake_failure

时间:2017-05-15 19:33:20

标签: java

所以我正在尝试安装Adobe Apache flex并收到以下错误: fig, (ax1, ax2) = plt.subplots(1, 2, sharey=True) ax1.set_title("Sample Graph", size='16') ax1.bar(df1.index, df1.c_destination, color='purple', alpha =1) ax1.set_axisbelow(True) ax1.set_xticks(df1.index) ax1.set_xticklabels(df1['index'], rotation=45, ha='right', size='14') ax1.patch.set_facecolor(color='gray') ax1.patch.set_alpha(0.5) ax2.set_title("Sample Graph Other", size='16') ax2.bar(df2.index, df2.destination, color='purple', alpha =1) ax2.set_axisbelow(True) ax2.set_xticks(df2.index) ax2.set_xticklabels(df2['index'], rotation=45, ha='right', size='14') ax2.patch.set_facecolor(color='gray') ax2.patch.set_alpha(0.5) 似乎无法找到解决方案。 我正在运行最新的Java版本并使用Windows 10 64位

谢谢,

肖恩

1 个答案:

答案 0 :(得分:0)

这解决了我的问题:

下载SDK do:

1. download: http://flex.apache.org/download-binaries.html and expand to c:\sdk
2. download ant: https://ant.apache.org/bindownload.cgi and expand to c:\ant
3. For now only seems to work with Java 1.8.0.45 which you can download from here:  http://www.oracle.com/technetwork/java/archive-139210.html  (   http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jdk-8u45-oth-JPR ) 
4. Next after you download copy the files from C:\Program Files\Java\jdk1.8.0_45\lib to  C:\Program Files\Java\jre1.8.0_45\lib
5. Next update the securitycrypto extension for 1.8.45 by download http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html and expand to C:\Program Files\Java\jre1.8.0_45\lib\security 
6. Next make sure system path includes c:\ant\bin
7. finally ran my command: ant -f installer.xml -Dair.sdk.version=25.0 -Dflash.sdk.version=25.0