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
1
vote
1 answer

Upgrade JDK from 8 to 11 in a grails project

I want to upgrade the JDK Version from 8 to 11 in my grails project. I am using IntelliJ version 2021.3.1 Grails: 4.0.10 Gradle: : 5.6.4 Springframework 2.1.18 When I startup my application, I get many exceptions, all like: Caused by:…
Peter
  • 1,011
  • 2
  • 16
  • 39
1
vote
1 answer

openjdk11 compiler error: Failed to determine Xcode version

I tried to compile openjdk11 in Apple M1 environment, but an error occurred in the process, resulting in the interruption of compilation. bash configure --disable-warnings-as-errors --with-debug-level=slowdebug checking if Boot JDK is 32 or 64…
Terrence
  • 158
  • 2
  • 4
  • 14
1
vote
2 answers

Dynamic enum with OpenJDK 11 using reflection

I'm working on a project running with JDK8 and we want to migrate it to OpenJDK11. But, there is legacy code that creates enums dynamically at runtime (using reflection and sun.reflect.* packages) : public class EnumUtil { static Object…
Thoomas
  • 2,150
  • 2
  • 19
  • 33
1
vote
1 answer

Docker OpenJDK 17 does not contain certificate

I want to create a docker image with OpenJDK 17 but it will be modified by adding our company's certificates. Dockerfile: FROM openjdk:17 COPY Certs /certs RUN /certs/load_certs.sh \ && rm -rf /certs The directory "Certs" contains every…
Peter S.
  • 470
  • 1
  • 7
  • 17
1
vote
0 answers

Is there any way to use a java profiler for spring boot application that is deployed in azure kubernetes service?

We are trying to monitor a spring boot application that is deployed in the azure kubernetes cluster but the java profile can't monitor it since the JVM is not exposed. Also, I checked the running services in the pod/container but I did not see any…
Alec Jones
  • 96
  • 9
1
vote
0 answers

Can't build dockerfile, created from openjdk jdk image

I'm trying to created a dockerfile from a adoptopenjdk/openjdk11:jdk-11.0.11_9-alpine image, but it fails right at the end of FROM section. I get an error: Exception in thread "main" java.io.IOError: java.io.IOException: Unable to parse columns and…
darth jemico
  • 605
  • 2
  • 9
  • 18
1
vote
1 answer

adoptopenjdk - select a specific minor version of the OS

In my docker file I use FROM adoptopenjdk/openjdk11:jre-11.0.10_9-alpine (origin: https://hub.docker.com/r/adoptopenjdk/openjdk11) This installs alpine version 3.14 as can be seen…
mosh
  • 404
  • 2
  • 8
  • 16
1
vote
0 answers

OpenJDK cross compilation: failed unable to make target

I need to cross-compile this fork of openJDK https://gitlab.com/gosjava/11/openjdk/-/tree/master/ on host system Kali Linux 2021.3 for target "aarch64-linux-gnu" As described here…
1
vote
3 answers

Failed to install Jenkins with JDK 11 on Amazon EC2 Linux 2 AMI with Packer

I try to install EC2 instance, with pre-installed Jenkins, using the following Packer configuration: The most important part here is setup.sh script, which installs Jenkins and Java: #!/bin/bash echo "Installing Amazon Linux…
Mykhailo Skliar
  • 1,242
  • 1
  • 8
  • 19
1
vote
1 answer

OpenJ9 MD5 implementation

One of our customers has migrated from IBM J9 (Java 8) IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20160427_301573 (JIT enabled, AOT enabled) J9VM - R28_Java8_SR3_20160427_1620_B301573 JIT -…
Torres
  • 5,330
  • 4
  • 26
  • 26
1
vote
1 answer

Which OpenJDK11 components are dependent on MuJS on Alpine Linux?

MuJS is a Javascript interpreter, which doesn't exist in the list of packages for Alpine linux (latest release 3.14 as of now). However, when one installs an OpenJDK11 package on Alpine, as shown below, it does seem to get picked up by security…
Jaywalker
  • 3,079
  • 3
  • 28
  • 44
1
vote
2 answers

How to capture application monitoring information from the docker container

I have more than one java application running in separate docker containers. I am trying to collect monitoring data such as GC log, thread dump, heap dump from the java process running inside a container using tools like jstat, jstack, jmap. Is it…
Mahesh
  • 103
  • 1
  • 10
1
vote
1 answer

JFR events start time

I have custom JFR event. I found that the RecodedEvent.getStartTime() is actually couple of seconds later than the time when this event was really created and committed. Then what time the getStartTime() shows? In my case I added current time to my…
Benzion
  • 25
  • 3
1
vote
1 answer

Does SUSE SLES 12 SP5 supports Oracle OpenJDK 11?

I wanted to know does SUSE SLES 12 SP5 supports oracle openjdk-11 or not? As when i am trying to install and run it in SLES12 sp5 then i am getting the error Error: dl failure on line 598 Error: failed Java/Sun-JRE/11.0.11/lib/server/libjvm.so,…
1
vote
0 answers

why hg clone taking too long from openjdk url

I have to build jdk 11 from source. I am trying to clone jdk11u source repo using below command. Its been more than 5 hours and it is still running. I am using release tag jdk-11.0.12+6 for which I want to fetch source code. Is this URL correct?…