adoptopenjdk

JCE in AdoptOpenJDK 11

自古美人都是妖i 提交于 2021-02-16 19:23:22
问题 Java Cryptography Extension (JCE) can be found here, but that page says Current versions of the JDK do not require these policy files. They are provided here for use with older version of the JDK. JDK 9 and later ship with, and use by default, the unlimited policy files. Does this apply to AdoptOpenJDK 11 as well? Or is this restricted to Oracle's JDKs? How do I know they are available? 回答1: According to this guide: I’ve been asked whether Java’s Cryptography/Security extension (JCE) is

JCE in AdoptOpenJDK 11

旧街凉风 提交于 2021-02-16 19:22:07
问题 Java Cryptography Extension (JCE) can be found here, but that page says Current versions of the JDK do not require these policy files. They are provided here for use with older version of the JDK. JDK 9 and later ship with, and use by default, the unlimited policy files. Does this apply to AdoptOpenJDK 11 as well? Or is this restricted to Oracle's JDKs? How do I know they are available? 回答1: According to this guide: I’ve been asked whether Java’s Cryptography/Security extension (JCE) is

Http Connection Timeout only when mobile client surfing from vodafone network + google chrome

好久不见. 提交于 2021-02-11 15:26:27
问题 I have a web application (spring-boot, tomcat) which is working and reachable through https without problems, but only if the client is not inside mobile network of vodafone and browsing with chrome. If so, when navigating to the page, chrome gives a timeout and simply cannot reach the website, whereas another browser has no problems reaching the site. Some interesting facts may be: - i updated to java11, using adoptopenjdk v11.0.3 (maybe some problems related to tls 1.3?) - before the update

Http Connection Timeout only when mobile client surfing from vodafone network + google chrome

无人久伴 提交于 2021-02-11 15:25:44
问题 I have a web application (spring-boot, tomcat) which is working and reachable through https without problems, but only if the client is not inside mobile network of vodafone and browsing with chrome. If so, when navigating to the page, chrome gives a timeout and simply cannot reach the website, whereas another browser has no problems reaching the site. Some interesting facts may be: - i updated to java11, using adoptopenjdk v11.0.3 (maybe some problems related to tls 1.3?) - before the update

Following error occurs when using AdoptOpenJDK and OpenJFX. “Error initializing QuantumRenderer: no suitable pipeline found”

不打扰是莪最后的温柔 提交于 2021-02-07 18:37:41
问题 I am using IntelliJ, Gradle, AdoptOpenJDK 12 and OpenJFX for my project. I am trying creating a simple HelloWorld kind of program to get started with OpenJFX. My project runs fine with OracleJDK but the moment I switch to AdoptOpenJDK 12 and run the project I get the following error in the console: Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found Caused by: java.lang.RuntimeException: No toolkit found I have tried switching to IBM JDK and

Error when compiling Jasper Reports using Jasper Reports API 6.13.0 with Adopt OpenJDK 11

穿精又带淫゛_ 提交于 2021-02-05 08:46:16
问题 we have a utility (CompileJasperReports.jar) that we use to compile all reports found in a folder When using JasperReports 6.7 API with Java 8 the utility runs fine. The call is "C:\Program Files\Java\jdk1.8.0_172\bin\java" -jar CompileJasperReports.jar <in-folder containing .jrxml files> <out-folder for .jasper files> These are the jars that are used by the CompileJasperReports.jar jasperreports-6.7.0.jar commons-beanutils-1.9.3.jar commons-collections-3.2.2.jar commons-digester-2.1.jar

Error when compiling Jasper Reports using Jasper Reports API 6.13.0 with Adopt OpenJDK 11

若如初见. 提交于 2021-02-05 08:46:09
问题 we have a utility (CompileJasperReports.jar) that we use to compile all reports found in a folder When using JasperReports 6.7 API with Java 8 the utility runs fine. The call is "C:\Program Files\Java\jdk1.8.0_172\bin\java" -jar CompileJasperReports.jar <in-folder containing .jrxml files> <out-folder for .jasper files> These are the jars that are used by the CompileJasperReports.jar jasperreports-6.7.0.jar commons-beanutils-1.9.3.jar commons-collections-3.2.2.jar commons-digester-2.1.jar

null pointer in java NIO SSO processor

不羁的心 提交于 2020-06-27 16:14:51
问题 trying to run gitblit, on tomcat 9, using JDK 11 occassionaly results in this stack trace: gitblit | 07-May-2020 04:30:39.247 SEVERE [https-jsse-nio-8443-exec-10] org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun Error running socket processor gitblit | java.lang.NullPointerException gitblit | at java.base/sun.security.ssl.HKDF.extract(HKDF.java:93) gitblit | at java.base/sun.security.ssl.HKDF.extract(HKDF.java:119) gitblit | at java.base/sun.security.ssl.ServerHello.setUpPskKD

Apache HttpClient failing with Java 11 on macOS

只谈情不闲聊 提交于 2020-06-08 07:53:49
问题 I'm trying to move my code from Java 8 to Java 11, this code... private static String readMultiHttpsUrlResultAsString(List<String> mbRecordingIds, String level) throws Exception { String result = ""; class NaiveTrustStrategy implements TrustStrategy { @Override public boolean isTrusted(X509Certificate[] chain, String authType) throws CertificateException { return true; } }; SSLContext sslcontext = org.apache.http.ssl.SSLContexts.custom() .loadTrustMaterial(new NaiveTrustStrategy()) .build();

Since OpenJDk Java 11 getting javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

余生颓废 提交于 2020-05-28 04:51:36
问题 Have recently updated application from Oracle Java 9 to AdoptJDk 11.0.6 and I am now seeing errors of the form this code: public static String convertWikidataUrl(String wikidataUrl) { String qPage = wikidataUrl.substring(wikidataUrl.lastIndexOf('/') + 1); String apiUrl = WIKIDATA_IMAGE_API_URL + qPage; try { URL url = new URL(apiUrl); HttpURLConnection uc = (HttpURLConnection) url.openConnection(); int responseCode = uc.getResponseCode(); if (responseCode != HttpURLConnection.HTTP_OK) {