Questions tagged [openjdk-11]

Open JDK 11 is the open-source reference implementation of version 11 of the Java SE Platform as specified by by JSR 384 in the Java Community Process.

203 questions
4
votes
0 answers

OpenJDK11: Security provider setup

In java 8 to setup a security provider I just needed to add the provider to the java.security file and add the provider external library to lib/ext. Since external libraries are not allowed in further versions how can I add a provider on…
facl0004
  • 41
  • 3
3
votes
1 answer

Why suddenly apk jdk11 installation stopped working while building docker image?

I am building a java app runnign on alpine and installing jdk11 with alpine package manager but suddenly from last night something is wrong. I haven't changed anything in my docker file so it could be something with some packages being updated? This…
Ciccio
  • 109
  • 7
3
votes
1 answer

How can we overwrite java.base/java.lang.Integer from OpenJDK 11 using --patch-module?

In the JDK-8, we could compile our changed java.lang classes and reconstruct the rt.jar. Then we could overwrite java.lang classfiles by augmenting the bootclasspath with -Xbootclasspath:/rt.jar. Doing this, we could for example make…
MGG
  • 33
  • 5
3
votes
2 answers

Getting Error: JavaFX runtime components are missing, and are required to run this application while opening executable jar

I've build executable jar using NetBeans IDE 11.0 but when I open jar using : hemlata@hemlata-pc:~/NetBeansProjects/Sizing/dist$ java -jar Sizing.jar I'm getting Error: JavaFX runtime components are missing, and are required to run this…
Hemlata
  • 187
  • 2
  • 9
3
votes
2 answers

How to write 'Junits for a Vertx microservice which is interacting with Oracle DB'?

I need to write the junits for a oracle-wrapper (basically a microservice written on vertx which is interacting with oracle db).How to proceed?Mockito can't be used
Argha Roy
  • 31
  • 1
3
votes
2 answers

When i upgraded java version to openJDK 11, I am getting nullpointerException while loading modelmapper configurations

After upgrading Java version to openJDK 11, modelMapper configurations are not getting loaded, getting NullPointerException. NullPointerException issue is not resolved even after upgrading modelMapper version to 2.3.2 Error Log: 1) Failed to…
Shankar
  • 31
  • 3
3
votes
0 answers

error the method toarray() is undefined for the type collection___

A error in the list which is "error the method toarray() is undefined for the type collection___", the error is in the openjdk11. using the jdk8 is all right. debug the code, there is the error in the list. List strList = new…
Pekka
  • 31
  • 1
3
votes
1 answer

openjdk11 : Unsupported CipherSuite Exception

My app is using OpenJDK 11 and fails with the following exception: Caused by: java.lang.IllegalArgumentException: Unsupported CipherSuite: SSL_RSA_WITH_AES_256_CBC_SHA256 at…
ikos23
  • 3,661
  • 9
  • 30
  • 47
2
votes
3 answers

Java "'java.execute.workspaceCommand' failed" in VSCode

I recently wanted to try Java, so i started out with Hello World! I installed OpenJDK 11 for VSCode and ran the program, but it produced the following error: Running the contributed command: 'java.execute.workspaceCommand' failed. I looked at the…
2
votes
0 answers

The java.awt.Font.getStringBounds gives different results on openJdk11 and openJdk8

I need to render PDF documents programmatically. I was using itext7 library and openJdk8. All worked fine but I decided to change openJdk8 on openJdk11 and my documents rendered with shifting y coordinates position. result was gotten on openJdk8…
John
  • 833
  • 6
  • 23
2
votes
1 answer

Undocumented Hotspot OpenJDK System properties

I've recently discovered some undocumented system properties in the JDK's System.Logger API, in particular, jdk.logger.finder.singleton. I couldn't find any web pages which mention this system property or any property at all relating to the…
A248
  • 303
  • 2
  • 11
2
votes
0 answers

Why are two TLS protocol versions TLS 1.2 and TLS 1.3 used alternatively under heavy load?

I am using Spring Rest template for making GET requests calls to an external API. This API does not support TLS 1.3 yet. The connection to the service works fine during normal work load. During load testing, I observed that some of the calls were…
2
votes
1 answer

jaxb: xjc.sh java.activation not found

I've downloaded jaxb-ri: $ tree -L 1 . ├── bin ├── docs ├── License.txt ├── mod ├── samples └── ThirdPartyLicenseReadme.txt My java version is: $ java -version openjdk version "11.0.7" 2020-04-14 Nevertheless, when I'm trying to perform xjc.sh…
Jordi
  • 15,016
  • 25
  • 94
  • 208
2
votes
1 answer

java.lang.NoClassDefFoundError: Could not initialize class sun.font.SunFontManager with OpenJDK 11.0

We are facing this error since migration from OpenJDK 8 to OpenJDK 11.0.9 from openjdk:11-jdk-slim. java.lang.NoClassDefFoundError: Could not initialize class sun.font.SunFontManager at…
Donatello
  • 2,597
  • 2
  • 22
  • 28
2
votes
1 answer

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

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…
Michael
  • 43
  • 3
1
2
3
13 14