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.

106 questions
253
votes
2 answers

Difference between OpenJDK and Adoptium/AdoptOpenJDK

Due to recent Oracle Java SE Support Roadmap policy update (end of $free release updates from Oracle after March 2019 in particular), I've been searching for alternatives to Oracle Java. I've found that OpenJDK is an open-source alternative. And…
Mikhail Kholodkov
  • 17,248
  • 15
  • 52
  • 69
10
votes
1 answer

null pointer in java NIO SSO processor

trying to run gitblit, on tomcat 9, using JDK 11 occassionaly results in this stack trace: gitblit | 07-May-2020 04:30:39.247 SEVERE [https-jsse-nio-8443-exec-10] org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun Error running socket…
user2163960
  • 1,651
  • 17
  • 21
10
votes
0 answers

What is the difference between "AdoptOpenJDK OpenJDK binaries" and "AdoptOpenJDK OpenJDK upstream binaries"

There are two sets of binaries available on AdoptOpenJDK site now: OpenJDK binaries - this is visible in the main part of the web page. Those are build using scripts from AdoptOpenJDK/openjdk-build repository. OpenJDK upstream binaries - there is a…
Rafał Kłys
  • 490
  • 4
  • 11
6
votes
1 answer

Is AdoptOpenJDK's JRE 11+ the same as using jlink on JDK, adding all dependencies

Is AdoptOpenJDK's JRE 11+ the same as just using jlink and adding all dependencies? Oracle Java 11 onwards doesn't come with JRE only JDK because you can build your own JRE containing only the system modules you need using jlink, and this is what I…
Paul Taylor
  • 12,050
  • 34
  • 149
  • 295
6
votes
2 answers

Error linking JNA library on AdoptOpenJDK on MacOS

I am trying to run some JUnit tests over cassandra. But I get the following error: [08/12/19 10:48:40:411](main)([]) INFO - c.h.c.c.e.EmbeddedCassandra - Starting embedded Cassandra server. 8/12/19 10:48:41:497](main)([]) ERROR -…
6
votes
1 answer

package sun.awt does not exist

When compiling with ant, calls to sun.awt.AppContext work, however the same code compiled with IntelliJ fails using AdoptOpenJDK11. sun.awt.AppContext with Oracle JDK8 works with IntelliJ sun.awt.AppContext with AdoptOpenJDK11 does NOT work with…
tresf
  • 3,691
  • 3
  • 26
  • 78
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
  • 12,050
  • 34
  • 149
  • 295
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
4
votes
0 answers

How to use Mac's java_home to pick between the same version of AdoptOpenJDK and AzulOpenJDK?

I have in my .zshrc the following line which pick which JAVA_HOME it is export JAVA_HOME=$(/usr/libexec/java_home -v '1.8*') I used to only have AdoptOpenJdk, hence doing that can let me easily pick AdoptOpenJdk version 1.8 However, after…
Elye
  • 30,821
  • 26
  • 115
  • 272
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
  • 97
  • 1
  • 5
3
votes
1 answer

Java Flight Recorder list comprehensive list of VM options for OpenJDK 8 & OpenJDK 11

Is there a way to get a comprehensive list of VM options for Java Flight Recorder (JFR). I am particularly interested in OpenJdk 8 & OpenJdk 11 so far I find this list quite usefull https://chriswhocodes.com/hotspot_options_jdk8.html also java…
Marcin Wasiluk
  • 4,285
  • 2
  • 31
  • 42
3
votes
4 answers

Tomcat9 complaining on class not found for javax.sql.DataSource class

Tomcat9 running on a Linux based VM, startup giving following error, when a Jdk11 compiled war file is deployed in tomcat. On start of tomcat following error occurs. How to resolve this class not found exception. Is specific module java.sql to be…
Yogi_NE
  • 167
  • 16
3
votes
2 answers

maven javadoc plugin error when used with modules Exit code: 1 - error: module not found:

I have a multi-module project that uses maven as its build system. I want to generate javadocs for the project. I do: mvn -e javadoc:javadoc When maven gets to the first module (Util) I get this: Exit code: 1 - error: module not found:…
munki
  • 31
  • 4
3
votes
1 answer

Since OpenJDk Java 11 getting javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

Have recently updated application from Oracle Java 9 to AdoptJDk 11.0.6 and I am now seeing errors of the form this code: public static String convertWikidataUrl(String wikidataUrl) { String qPage =…
Paul Taylor
  • 12,050
  • 34
  • 149
  • 295
3
votes
1 answer

AdoptOpenJDK Class Documentation

Is there a website like https://docs.oracle.com/javase/8/docs/api/java/util/List.html to see the documentation of a class or its (available) methods for AdopOpenJDK?
user12825234
1
2 3 4 5 6 7 8