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
3
votes
0 answers
Error: inferred type does not conform to lower bound(s) after java 11 upgrade
After upgrading the project from java 8 to java 11 I randomly get the following error:
incompatible types: inferred type does not conform to lower bound(s)
[ERROR] inferred: java.lang.String
[ERROR] lower bound(s):…

Daniel Jipa
- 878
- 11
- 24
3
votes
1 answer
How can I resolve "sun.security.x509" is not visible when migrating from 1.8 to openJDK11?
I am migrating Java 1.8 to OpenJDK 11. Getting some dependency errors.
"sun.security.x509" is not visible.
BASE64Encoder error
How can I resolve these? I am using Apache Ant for build.

Gnik
- 7,120
- 20
- 79
- 129
3
votes
2 answers
Ubuntu 18.04 Java Command Not Found Despite Being Installed
I initially had default-jdk and default-jre installed on Ubuntu 18.04.
Attempted to host a Minecraft Server for a friend, but was given the error found here
I followed the commentor's advice to reinstall java version 8 rather than version 11…

tjsucksatcoding
- 151
- 1
- 1
- 6
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
- 367
- 1
- 3
- 13
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
3 answers
Using sun.reflect package with openjdk11
Is there a way to use sun.reflect in OpenJDK11, by maybe adding something in "--add-exports"? Our code fails since a jide pkg internally uses sun.reflect package and I'm trying to see if there's a way to make it work.
I've already tried with the…

user3723491
- 165
- 4
- 12
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
- 1
- 3
3
votes
0 answers
Failed to build parent project for com.sun.xml.bind:jaxb-core:jar:2.2.11
I'm working on JDK Migration from Oracle JDK 8 to OpenJDK 12. I have resolved all the issues while building. But i'm getting the following warnings during build,
Failed to build parent project for com.sun.xml.bind:jaxb-core:jar:2.2.11 2. Invalid…

Pearl
- 384
- 1
- 8
- 15
3
votes
1 answer
Which Cipher Suites Algorithm Are Supported in Jdk11 and Which One is Best to Use with TLSv1.2
I am running my JDK8 application in JDK11 enviroment.
I am using TLSv1.2 and TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 cipher suite algorithm which i am suspecting that it is not supported or disabled in JDK11.
There are list of ciphers which are…

Keshav Soni
- 41
- 1
- 1
- 6
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
- 2
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
- 4,879
- 10
- 41
- 60
2
votes
2 answers
JFR: OutOfMemoryError while reading .jfr file
I'm trying to analyze a large Flight Recorder file (1.5 GB) that I created previously. When executing the jfr print command, the tool runs into an OutOfMemoryError:
$ jfr print --events "jdk.CPULoad"
jfr print: unexpected internal error,…

Markus
- 1,649
- 1
- 22
- 41
2
votes
0 answers
java.lang.IncompatibleClassChangeError: Type com.google.gwt.dom.client.Style$Float$1 is not a nest member of com.google.gwt.dom.client.Style
Having strange behavior when running tests. Maven 3.6.3 with Java 8 tests run fine, but when trying Java 11 get the below error when trying to execute the following code:
public void testUpdateAlignment()
{
ImageConfig imageConfig =…

tunnelvisions
- 21
- 2
2
votes
0 answers
HttpURLConnection is not working with openJDK 11.0.8
I am trying to call API with HttpURLConnection using oracle JDK 11.0.1 and it's working fine with it, but same thing is not working with openJDK 11.0.8. Below is my request header.
connection.addRequestProperty("username",…

Manish Prajapati
- 392
- 2
- 11
2
votes
1 answer
Configure Eclipse to use OpenJFX with OpenJDK without manually adding --add-module in Run Configurations?
I have a downloaded OpenJDK 11.0.11_9 JRE and a corresponding version of OpenJFX (11.0.2). I have configured eclipse to use the downloaded JDK11 for compilation and running my project. (For various reasons I am not using the system's default…

user272901
- 103
- 6