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
1
vote
3 answers
Apache flink job crashes with exception java.lang.IllegalAccessError: class org.apache.flink.util.NetUtils on start_cluster
Just downloaded Flink 1.13.1 and wanted to run a small local test project. My java version is:
[![enter image description here][1]][1]
pneelaka@MacBook-Pro Apache %
pneelaka@MacBook-Pro Apache % $FLINK_HOME/bin/start-cluster.sh
Starting…

Ace McCloud
- 798
- 9
- 27
1
vote
2 answers
Java openjdk error: Cannot load library (java awt)
I tried to run a java awt program but it gives this error:
I am using lubuntu 18.04 and openjdk 11
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so
at…

programmer master
- 45
- 1
- 1
- 9
1
vote
1 answer
Different grouping separator for same Locale between Java 8 and 11
I am setting the Locale based on language and region and want to parse a BigDecimal number with this setting. But the issue I am facing is that the grouping separators are different for both OpenJDKs.
Below is the sample code I am trying to execute…

Pratik Kumawat
- 146
- 2
- 14
1
vote
0 answers
The type com.sun.tools.javac.code.Symbol is not accessible in OPEN JDK - 11
I am trying to import com.sun.tools.javac.code.Symbol to my below bold code line in Open JDK -11.
But i am unable to import the above package. Need Support !`
Code line
private String getJsonValue(Element element) {
JSONObject builder = new…

Sahan Sudaraka
- 19
- 2
1
vote
2 answers
Caused by: java.lang.ClassNotFoundException: com.querydsl.apt.jpa.JPAAnnotationProcessor
i am using gradle6+, openjdk11 and querydsl 4.2.x for a springboot project,
facing an issue like below
Caused by: java.lang.ClassNotFoundException: com.querydsl.apt.jpa.JPAAnnotationProcessor
in gradle script, have added
annotationProcessor…

Vijay
- 1,026
- 3
- 11
- 28
1
vote
1 answer
AJP connection fails
I have two CentOS 7. On one I have Open JDK 11 & Tomcat 9.0.43. The AJP connection setting is like below

Aniruddha
- 55
- 2
- 10
1
vote
1 answer
SecurityException Loading JAAS Config File With Centos/OpenJDK11/Tomcat In Docker Container
I am trying to move an existing web application from Windows to run in a Docker container. I started with Centos 7 and OpenJDK 11 as a starting point. Put Tomcat 9 on top and to starts fine. I started adding the pieces for my web application with…

Mike Rother
- 591
- 4
- 16
1
vote
1 answer
How do I bootstrap building the jdk?
I am attempting to build jdk-11+8 in order to read the generated source of java.nio.ByteBuffer for Linux.
I installed all the dependencies based on the documentation, and then successfully ran configure.
However, when I run make, I get a strange…

merlin2011
- 71,677
- 44
- 195
- 329
1
vote
1 answer
Ho to disable TLS 1.3 in Vertx, it is creating issue while connecting with MmongoDB client
I am developing an application on Vertx Java and using Mongodb as database,
when i am trying to connect Mongodb instance it is throwing below error
Caused by: javax.net.ssl.SSLHandshakeException: extension (5) should not be presented in…

Darshan Redkar
- 75
- 5
1
vote
2 answers
How data is stored/accessed and preventing race conditions in maps, java
We have a case like this.
class A{
class foo{
//Map with a lot of entries
private HashMap dataMap;
public updater(){
// updates dataMap
// takes several milliseconds
}
public someAction(){
…

Vaibhaw Vaibhaw
- 13
- 2
1
vote
0 answers
jlink on Windows fails w "Error: Duplicate entry!"
I am trying to build a JRE on Windows 10 with OpenJDK 11. I ALWAYS get a error message, so maybe I'm just doing something wrong.
Here is a simple invocation of jlink:
C:\Users\en>"C:\Program Files\AdoptOpenJDK\jdk-11.0.9.11-hotspot\bin\jlink.exe"…

Benjámin Budai
- 115
- 8
1
vote
1 answer
Compiling a Gradle Java project with Java 8 but running tests with Java 11
As the first part of a transition process of my projects, I would like to keep compile with JDK-8 compiler, but execute tests with JDK-11 runtime.
My projects are Gradle projects (6.+ if it matters), using the java plugin or java-library plugins.
I…

slashms
- 928
- 9
- 26
1
vote
1 answer
JDK 11 issue with javax.crypto.JceSecurity
I am getting error with JDK 11
class javax.crypto.JceSecurity (in unnamed module @0x256bb5be) cannot access class jdk.internal.util.StaticProperty (in module java.base) because module java.base does not export jdk.internal.util to unnamed module…

Subham
- 420
- 3
- 11
- 34
1
vote
1 answer
Using andoird "sdkmanager" with OpenJDK 11
I want to use Android sdkmanager with OpenJDK instead of Oracle JDK and I've installed the package default-jre in ubuntu 18.04.But when I run sdkamanger I get the following errors:
Exception in thread "main" java.lang.NoClassDefFoundError:…

Parsa Mousavi
- 1,052
- 1
- 13
- 31
1
vote
1 answer
Adding module-info.java to the project results lombok errors
I am trying to migrate from Java 8 to Java 11. My versions are as follows:
OpenJDK 11
Springboot: 2.2.7.RELEASE
Maven home: 3.6.1
Lombok: 1.18.12
Everything builds fine. Although I wanted to create a jre using jlink so I need to generate a…

Rocky
- 429
- 1
- 9
- 26