Questions tagged [openjdk-17]

63 questions
1
vote
1 answer

Java Gradle Missing libraries Modue that exists or have been imported - > Task :compileJava

So I have been facing these issues in so many JavaFX Gradle based projects in Intelli J Idea IDE. This has pushed me to the point where I had to manually download library files and make them part of my projects as a workaround. The gradle projects I…
kinsley kajiva
  • 1,840
  • 1
  • 21
  • 26
1
vote
0 answers

Build OpenCV 4.5.5 on mac mini m1 openjdk 17

I'm trying to build OpenCV 4.5.5 on a mac mini m1 as follows installed openjdk 17 created folder ~/build_opencv in user home and cd to it from this folder call cmake -DCMAKE_SYSTEM_PROCESSOR=arm64 \ -DCMAKE_OSX_ARCHITECTURES=arm64…
razvan
  • 559
  • 7
  • 23
1
vote
1 answer

Exception in thread "main" java.lang.ExceptionInInitializerError using Selenium on win10 Eclipse & IntelliJ maven projs

Selenium WebDriver usage triggers Cannot initialize cryptographic mechanism at java.base/javax.crypto.JceSecurity on windows 10 machine for both Eclipse and IntelliJ Idea projects. Please guide/suggest on how to fix the error. I had setup this as…
Kumar Si
  • 11
  • 3
1
vote
1 answer

How to install Git on the standard openjdk docker image?

Recently started upgrading my app from JDK 8 to 17. My build infrastructure uses docker containers. Previously, I was using openjdk:8u322-jdk. So I bumped the docker image to openjdk:17.0.2-jdk, but things've changed drastically. There's no Git…
Shorn
  • 19,077
  • 15
  • 90
  • 168
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
1 answer

Transitive dependency in a maven reactor with jdk17

I am in the process of upgrading a large application to JDK17. Today, the project compile fine with a JDK11 and maven. With JDK17, I have a really strange issue with versions of transitive dependencies. This project is composed of multiple sub…
Jérémie B
  • 10,611
  • 1
  • 26
  • 43
1
vote
1 answer

Reflective call in JDK 17 against interface

I migrate my project to JDK 17. Everything works fine besides of one thing: class org.aldan3.util.TemplateEngine cannot access class sun.nio.fs.UnixPath (in module java.base) because module java.base does not export sun.nio.fs to unnamed module…
user2305886
  • 784
  • 8
  • 18
1
vote
0 answers

ApacheDS - default service fails to start on Windows

I have been trying to start ApacheDS service on windows for a while, but failed. I want to connect to LDAP but the ApacheDS service can't start. I tried to check my wrapper log file and found the error - Unable to load the Wrapper's native library…
Jerrephant
  • 11
  • 1
1
vote
0 answers

Can I do something with this OpenJDK 64-Bit Server VM warning?

When I run Spring Boot application I get this warning: OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release. Is there something I can do to remove that…
Adam
  • 11
  • 1
0
votes
0 answers

JDK 17 Unable to make field int sun.util.calendar.BaseCalendar

This exception occurs after java migration to OpenJDK Runtime Environment Temurin-17.0.3+7 build 17.0.3+7 I have try to add add those JVM OPTIONS but not help JVM_OPTIONS="$JVM_OPTIONS --add-opens java.base/java.lang=ALL-UNNAMED --add-opens…
RAITON
  • 325
  • 2
  • 13
0
votes
1 answer

Trying to use JBoss profiler but it fails to parse the jboss-profiler-noAOP.sar file

I followed the instructions to setup the profiler given here: http://www.mastertheboss.com/articles/application-server/jboss-profiler-tuning/ When I start my server, I get this error: WFLYCTL0186: Services which failed to start: service…
Nishant
  • 1
  • 3
0
votes
1 answer

cannot access class org.jcp.xml.dsig.internal.dom.XMLDSigRI (in module java.xml.crypto)

we are using XMLSignatureFactory to get instance like below. which was working fine in JDK 12 but now when upgrading to JDK17 giving below error in runtime. Any one please can provide input. String providerName =…
Gaurav
  • 33
  • 8
0
votes
1 answer

Calling setResourceResolver via Spring beans in JDK 17 (An illegal reflective access operation has occurred)

I have a complicated set of XSDs, so the end XSD has many entries, so it requires a resource resolver to locate the referenced XSDs. The resource resolver then needs to be injected into the SchemaFactory. Simplified…
nigelg
  • 151
  • 3
  • 12
0
votes
1 answer

how to install amazon Corretto 17 on centos

I need to install jdk 17 on centos7. When I try the yum install, I get the below message sudo yum install -y java-17-amazon-corretto-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * fasttrack: mirror.centos.org No…
sinsanarya
  • 73
  • 12
0
votes
1 answer

RecursiveAction cannot be resolved to a type

When I add jdk17.0.2 to my build path, in STS(eclipse), replacing 15, RecursiveAction cannot be resolved to a type. What gives? I know java.util.concurrent.RecursiveAction was not removed from the jdk. Reverting back to 15 solves it.
HellishHeat
  • 2,280
  • 4
  • 31
  • 37