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.
Questions tagged [openjdk-11]
251 questions
8
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
- 81
- 1
- 3
6
votes
5 answers
Flutter doctor can't find sdkmanager
So I'm trying to install flutter without Android Studio because my PC work really slow whenever i trying to open Android Studio. Everything working smoothly at beginning, but when flutter trying to get Android License using
flutter doctor…

Prisma Putra
- 113
- 2
- 6
6
votes
5 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…

MaxMobileYT
- 61
- 1
- 2
6
votes
4 answers
Eclipse jdk 11 problem: The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files
I have a toy program that has a compilation error only in Eclipse when I try to use a Chronicle import and compile to language level 11. The program compiles and runs in maven, and also in IntelliJ (with the same maven and JDK).
The versions I have…

doc
- 765
- 1
- 6
- 24
6
votes
1 answer
OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled (resin, Ubuntu, OpenJDK 11)
I've been running this old Caucho Resin (4.0.41) for many, many years on an Ubuntu box. I need to retire that server, so I'm trying to set up resin 4.0.64 on a new Ubuntu 18.04.4 server, and after a lot of poking and fiddling, it's launching, but…

Rick
- 3,298
- 3
- 29
- 47
6
votes
1 answer
OpenJDK 11 error "Can not initialize cryptographic mechanism"
I have an app written with openJDK (Amazon Correto 11) and openJFX.
When I run the app locally - everything works.
But when I execute the app from network share there is an Exception:
java.lang.ExceptionInInitializerError
at…

user7374044
- 157
- 1
- 1
- 10
6
votes
1 answer
Migrating java application from Java 8 to Java 11
Advance thanks, who are be going to help me.
Story: till date my application is using JDK8, but right now I am migrating my application to Open JDK11 and using IVY as dependency manager and Ant as a build tool.
Problem: I was facing compile-time…

Dupinder Singh
- 7,175
- 6
- 37
- 61
6
votes
2 answers
OpenJdk initial startup time very slow
I'm running openjdk 11.0.3 on a server. Whenever the server has been rebooted (every night): For the first initial launch of my Application, the users have to wait for 35 Seconds before the Application is even started. (Before the first…

runholen
- 850
- 11
- 24
5
votes
1 answer
JDK 11 HttpClient: BindException: Cannot assign requested address
I am using the new HttpClient shipped with JDK 11 to make many requests (to Github's API, but I think that's irrelevant), especially GETs.
For each request, I build and use an HttpClient, like this:
final ExecutorService executor =…

amihaiemil
- 623
- 8
- 19
5
votes
1 answer
SpringBoot OAuth2 Sample Application
application.yml
server:
port: 8082
spring:
security:
oauth2:
client:
registration:
custom-client:
client-id: R2dpxQ3vPrtfgF72
client-secret: fDw7Mpkk5czHNuSRtmhGmAGL42CaxQB9
…

Popeye
- 365
- 3
- 13
4
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
- 189
- 10
4
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
- 20,868
- 39
- 149
- 333
4
votes
2 answers
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
- 3,486
- 3
- 32
- 38
4
votes
1 answer
Why is OpenJDK Docker Container ignoring Memory Limits in Kubernetes?
I am running several Java Applications with the Docker image jboss/wildfly:20.0.1.Final on Kubernetes 1.19.3. Wildfly server is running in OpenJDK 11 so the jvm is supporting container memory limits (cgroups).
If I set a memory limit this limit is…

Ralph
- 4,500
- 9
- 48
- 87
4
votes
1 answer
Java Flight Recorder - how to extract the values of a custom event field?
Java Flight Recorder is now a part of OpenJDK 11 and offers the usage of custom events.
After a successful recording, I want to reuse the information within the events (especially my own custom events), but somehow I am unable to read the field…

Matécsa Andrea
- 532
- 1
- 6
- 15