чт, 11 нояб. 2021 г. в 16:53, Christopher Schultz <[email protected]>: > > All, > > It looks like fetching the NSIS installer from downloads.sourceforge.net > is a problem with Java 7. > > I should be able to download the dependencies with Java 8, then switch > to Java 7 for the actual build. > > Is there a way to specify a JAVA_HOME for the compilation and testing, > but to use a different JAVA_HOME to invoke ant itself?
The following works for me with Java 7u80 and Ant 1.9.16: 1) First, Ant options Note: the "set" command is on one line (may be wrapped by mail client) rem For Tomcat 8.5 / Java 7, see BUILDING.txt rem https://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html#SunJSSEProvider set "ANT_OPTS=-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -Dhttps.cipherSuites=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384" 2) Second, Unlimited Strength Cryptography has to be enabled. 3) Third, CA certificate that signs https://sourceforge.net/ has to be known to Java. The file to be updated in my case was "C:\Program Files (x86)\Java\jdk1.7.0_80\jre\lib\security\cacerts" The command to update that file was "C:\Program Files (x86)\Java\jdk1.7.0_80\jre\bin\keytool.exe" -importcert -keystore cacerts -file sourceforge-net.pem Password: changeit where I used Firefox to download a certificate for the CA that signed the certificate for https://sourceforge.net/ -> certificate for "US/Let's Encrypt/R3" I am attaching it, if it helps. Best regards, Konstantin Kolinko
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
