Questions tagged [adoptopenjdk]

AdoptOpenJDK is a community of Java User Group (JUG) members, Java developers and vendors with the purpose of producing high-quality runtimes and associated technology for use within the Java ecosystem. The Eclipse Adoptium project is the continuation of the original AdoptOpenJDK mission.

129 questions
5
votes
2 answers

Apache HttpClient failing with Java 11 on macOS

I'm trying to move my code from Java 8 to Java 11, this code... private static String readMultiHttpsUrlResultAsString(List mbRecordingIds, String level) throws Exception { String result = ""; class NaiveTrustStrategy implements…
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
5
votes
3 answers

Error when trying to run a Play Scala app with sbt after fresh install on Catalina: "Error loading JNotify watch service: null"

After moving to Catalina and re-installing everything, no way to run my Play Scala app. After doing sbt then run, I get this error: [warn] Error loading JNotify watch service: null Everything was installed with brew from this brewfile (I didn't…
sar
  • 53
  • 4
5
votes
1 answer

Using VisualVM with AdoptOpenJDK and OpenJ9

I can monitor applications with VisualVM if I use the AdoptOpenJDK HotSpot build for Java8. If I use the OpenJ9 build, VisualVM displays the error "Local applications cannot be detected". Did anybody get VisualVM to work with OpenJ9?
user3726374
  • 583
  • 1
  • 4
  • 24
5
votes
1 answer

How to upgrade AdoptOpenJDK8 and Java11 with Homebrew

I have searched a little bit, but im a little bit confused. I have installed Java8 and Java11 by homebrew. Java8 is installed with adoptopenjdk/openjdk tap and Java11 is from homebrew/cask tap. When i see the version for AdoptOpenJDK i see this…
user9883549
4
votes
1 answer

How do I configure the "Eclipse Temurin JDK with Hotspot" in VS Code after installation by the "coding pack for java"?

I tried installing the JAVA JDK on my laptop, provided by the installer on VS Code website as a "Coding pack for Java". It installed the JDK and the required extensions in VS Code. But then inside the editor, it didn't configure the JDK by itself.…
Ankit Kumar
  • 61
  • 1
  • 1
  • 5
4
votes
2 answers

When will AdoptOpenJDK 11 come for Apple with M1 chip?

I am using a MacBook Air with the M1 chip. I tried Zulu JDK for M1 for development, and it works, however it does not work with OpenJFX. I have narrowed down the problem using Zulu vs AdoptOpenJDK. Does anyone have any idea when OpenJDK will be…
notnull
  • 94
  • 2
  • 8
4
votes
2 answers

java.lang.NoClassDefFoundError: Could not initialize class sun.font.SunFontManager with OpenJDK 11.0

We are facing this error since migration from OpenJDK 8 to OpenJDK 11.0.9 from openjdk:11-jdk-slim. java.lang.NoClassDefFoundError: Could not initialize class sun.font.SunFontManager at…
Donatello
  • 3,486
  • 3
  • 32
  • 38
4
votes
2 answers

Busybox wget to download jar fails with an error "wget: server returned error: HTTP/1.1 307 Temporary Redirect"

I am using adoptopenjdk/openjdk11:alpine-jre base image for java and trying below instruction inside my Dockerfile, RUN wget -O dd-java-agent.jar…
sham
  • 422
  • 4
  • 18
4
votes
1 answer

Unable to debug Junit test anywhere

I tried debugging a junit test in STS (Spring Tool Suite). When I try to perform 'step-into' in any method of the class under test object I get com.sun.jdi.InternalException: Got error code in reply:35 occurred retrieving 'this' from stack…
Nishant Ingle
  • 793
  • 1
  • 8
  • 12
4
votes
1 answer

Missing external jar files in jdk 11

I have an application build with install4j and it uses openjdk-8. Now i want to change openjdk-8 to openjdk-11. My application only uses jre not full jdk. In jdk11 there is no separate jre. But AdoptOpenJDK is providing jre separately for jdk-11…
deadshot
  • 8,881
  • 4
  • 20
  • 39
4
votes
1 answer

How to add AdoptOpenJDK to Docker image?

I've created a generic docker building file which includes utilities such as kubectl and Helm, but now I want to add adoptopenjdk to the image along with Maven, but when I test it Java crashes with a core dump. Here is the Dockerfile: #…
Steve
  • 445
  • 1
  • 8
  • 18
4
votes
1 answer

Following error occurs when using AdoptOpenJDK and OpenJFX. "Error initializing QuantumRenderer: no suitable pipeline found"

I am using IntelliJ, Gradle, AdoptOpenJDK 12 and OpenJFX for my project. I am trying creating a simple HelloWorld kind of program to get started with OpenJFX. My project runs fine with OracleJDK but the moment I switch to AdoptOpenJDK 12 and run…
kula sekhar
  • 107
  • 1
  • 6
4
votes
1 answer

How to get heap dump in AdoptOpenJDK?

I am using CentOS. How to get heap dump in AdoptOpenJDK? Terminal commands like jcmd GC.heap_dump or jmap -dump:live,file= don't work. Is there a simple way to get dump of a Java application by using PID?
user8116296
3
votes
1 answer

How do you tell IntelliJ to use the Oracle JDK instead of the Adopt Open JDK?

I am running IntelliJ on a Mac M2 architecture. I initially downloaded JDK 17 from Adopt Open JDK and created a simple Kotlin project that prints "hello world" from provided sample code within the IDE as shown below: However, I am getting this…
user1068636
  • 1,871
  • 7
  • 33
  • 57
3
votes
1 answer

Release version 11 not supported while using Gradle on MacOS with AdoptOpenJDK 11

When running gradle build (that works for other developers in my team) I'm getting: Execution failed for task ':compileJava'. > error: release version 11 not supported This is with installation of AdoptOpenJDK11 on MacOS. java -version openjdk…
Krešimir Nesek
  • 5,302
  • 4
  • 29
  • 56
1
2
3
8 9