Skip to content

Instantly share code, notes, and snippets.

@h1romas4
Created August 8, 2018 03:19
Show Gist options
  • Save h1romas4/7608fb452ec62b4bcc3a919f5765a3f9 to your computer and use it in GitHub Desktop.
Save h1romas4/7608fb452ec62b4bcc3a919f5765a3f9 to your computer and use it in GitHub Desktop.
IBM Java で maven リポジトリの https 接続が connection reset エラーで接続できない場合
rem IBM JDK 1.8.0_171 以上のバージョンを使うこと
rem C:>java -version
rem java version "1.8.0_171"
rem Java(TM) SE Runtime Environment (build 8.0.5.17 - pwa6480sr5fp17-20180627_01(SR5 FP17))
rem IBM J9 VM (build 2.9, JRE 1.8.0 Windows 7 amd64-64-Bit Compressed References 20180626_390413 (JIT enabled, AOT enabled)
rem OpenJ9 - 5cdc604
rem OMR - a24bc01
rem IBM - 21870d6)
rem JCL - 20180619_01 based on Oracle jdk8u171-b11
@rem gradlew.bat の DEFAULT_JVM_OPTS に以下を追記
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=-Dcom.ibm.jsse2.overrideDefaultTLS=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment