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.

251 questions
0
votes
1 answer

Zlib version used in openjdk 11

I am trying to check what zlib version is used for an specific version of openjdk 11 but I can't find it anywhere. I was googling it but can't find it anywhere. I can just find some tickets in which it's informed that it has been updated.
Manuelarte
  • 1,658
  • 2
  • 28
  • 47
0
votes
1 answer

java.nio.file.ProviderNotFoundException: Provider "jar" not found when running "mvn test"

When trying to test using "mvn test" the test fail with error: java.nio.file.ProviderNotFoundException: Provider "jar" not found. Compiling the app and running works without issues. It is this piece of code, that for some reason fails, when…
Jacob
  • 11
  • 3
0
votes
0 answers

Error building openJDK 11 with devkit: Unknown base OS Fedora

I need to build the following openJDK git clone --depth 1 --branch jdk-11+28 https://github.com/openjdk/jdk.git For that I run: cd make/devkit make TARGETS="aarch64-linux-gnu" BASE_OS=Fedora BASE_OS_VERSION=21 &>build.log And got following…
0
votes
2 answers

How to find the JRE location to use the system JRE in eclipse

I'm trying to set up a java project to use openjdk-11 and all the answers I have found so far have me going in circles. I'm using ubuntu 20.04, so I used the command 'sudo apt install openjdk-11-jre'. The installation seemed to be successful but now…
pbuchheit
  • 1,371
  • 1
  • 20
  • 47
0
votes
1 answer

Unable to remove jdk 8 from windows

I have JDK 1.8.0_261 , JDK 1.8.0_265 installed on my server. When I un-installed both these JDK's from the control panel, the folder structure of JDK 1.8.0_261 is automatically removed from my Java installed directory but for JDK 1.8.0_265 & JRE8…
Taruna
  • 11
  • 2
0
votes
1 answer

JDK 11 and some Cipher Suite are not working that are configured in conf/server.xml but it does not work

I have configured 4 ciphers in server.xml file as following but ONLY 2 RSA are working and ECDHE_ECDSA does not work. I have scan tomcat with multiple tools only RSA are showing in all. How can I make TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, and…
Bmis13
  • 550
  • 1
  • 8
  • 27
0
votes
1 answer

Why NumberFormat working different for openjdk@11 and openjdk@17?

There is sample code (below). Result of execution is different for jdk@11 and jdk@17. Looks like white characters are different after formatting BigDecimal(1000) to String. Finally result looks the same - BUT, it is not the same String (compare…
THM
  • 579
  • 6
  • 25
0
votes
0 answers

What version of java and jdk that will fix the error cannot be cast to sun.awt.Win32GraphicsEnvironment

We recently upgraded our Linux Ubuntu to 5.4.0-1058-gcp ( GCP VM )and our mobile app started to malfunction. Is this java version going to help fix the issue? openjdk version "11.0.13" 2021-10-19 OpenJDK Runtime Environment (build…
Rn3l
  • 43
  • 5
0
votes
0 answers

JVM Runtime.availableProcessors() returns 2 when it should be 4

I'm running openjdk11 on alpine linux in a container in an AWS EKS cluster. The application determines the size of a threadpool based on the number of CPUs as returned by Runtime.getRuntime().availableProcessors() This call is returning 2 processors…
e.dan
  • 7,275
  • 1
  • 26
  • 29
0
votes
1 answer

OpenJDK JRE docker image and fixes/patches

I am currently using the openjdk:11.0.11-jre-slim docker image. By using the minor version of 11, do I lose out on patches / security fixes? If a bug fix is made, will it be made in 11.0.11 or only in 11.0 and 11.0.12 for example? Also, the same…
Kinght007
  • 59
  • 1
  • 10
0
votes
0 answers

Could not find artifact jdk.tools:jdk.tools:jar:1.6 at specified path /usr/java/openjdk-11/../lib/tools.jar

I am using Java 8 to compile my code , some time back our sonar server upgraded to 8.1 and we were forced to analyse the code using Java11 as asked here https://community.sonarsource.com/t/sonarqube-8-1-with-java-8-code/19306 I have upgraded my…
Prashant Raghav
  • 319
  • 2
  • 6
  • 15
0
votes
0 answers

Error message: "Could not create Java virtual machine." (Debian10 buster)

I recently tried running java on debian 10 buster linux. I installed the default-jre and openjdk-11-jdk using the sudo command in the terminal. I confirmed the installations by running the command "sudo apt search openjdk" and it was installed. But…
Wizking
  • 33
  • 6
0
votes
0 answers

OpenJDK cross-compilation couldn't find X11 libraries but packages are installed

Cross-compiling openJDK 11 fork following this instruction https://gitlab.com/gosjava/11/openjdk/-/blob/master/doc/building.md#cross-compiling-the-easy-way-with-openjdk-devkits make TARGETS="aarch64-linux-gnu" BASE_OS=Fedora BASE_OS_VERSION=21…
0
votes
3 answers

How to configure openJDK11 for build from sources?

I need to cross-compile from sources this OpenJava fork https://gitlab.com/gosjava/11/openjdk/-/tree/master/ - for aarch64-linux-gnu devkit target: For that I installed java 10.0.2 as host JDK then ran "./configure" └─$ ./configure …
0
votes
1 answer

Able to start multiple camel contexts per deployment

We are migrating our application from Camel 2.x to 3.x (2.20.2 to 3.11.2). We are using Spring XML to create camel routes. There are 2 XML files with one camel context defined in each. We are bootstrapping these camel contexts using spring (see…