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.
Questions tagged [adoptopenjdk]
129 questions
3
votes
1 answer
SQLCL with Adoptopenjdk
I would like to understand some "magic", here is how to reproduce :
Get SQLCL here : https://www.oracle.com/fr/database/technologies/appdev/sqlcl.html
But SQLCL need jre 1.8 so get AdoptOpenJDK 8 here :…

yohannc
- 140
- 2
- 9
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…

YS_NE
- 194
- 2
- 21
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
- 41
- 5
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
3
votes
1 answer
Does Spark run with OpenJ9 and Java 8?
Is Spark functional for use with Java 8 + OpenJ9?
I found a pull request for version 3.0.0 but it was not very clear to me the consequences of running without this pull request. I am currently using version…

Emerson
- 428
- 5
- 16
3
votes
1 answer
Bundling JRE 8 and JavaFX application
We wrote a JavaFX application using JDK8 and we would like now to deploy our app not only using the jar file but also alternatively providing a zip file that bundles:
the jar file my.jar
a .bat (or .sh) file that simple does .\jre\bin\java.exe -jar…

tmanolatos
- 932
- 10
- 16
3
votes
1 answer
How can I force Red Hat OpenJDK 8 to render fonts as clearly as AdoptOpenJDK and Oracle JDK on Windows?
Our users run our Java GUI app on their Windows desktops, and we're planning a switch from Oracle Java 8 to OpenJDK 8. But we've found that different OpenJDK builds are inconsistent in the quality of the font rendering, with Oracle and AdoptOpenJDK…

JKD
- 103
- 7
3
votes
0 answers
Does ZGC use more shared memory?
Why does the JVM process using ZGC of OpenJDK 11 on CentOS within Docker use huge shared memory?
Server: 2 cores/4G memory;
VIRT: 17.032t, RES: 7.974g, SHR: 7.382g, %CPU: 26.9, %MEM: 199
JVM parameters:
-Xmx3296m -Xms1977m…

Spike Liu
- 63
- 4
2
votes
1 answer
Is it safe to run OpenJDK images like Eclipse Temurin as root?
I noticed that the examples for running the Eclipse Temurin Docker images run the images as root and not as non-root user.
I thought it always would be better to run Docker images as non-root user?
Is it safe to run the Temurin images as root? (For…

Datz
- 3,156
- 3
- 22
- 50
2
votes
2 answers
macOS - Java 17 installed with asdf: No such file or directory when checking java version
I installed Java 17 version with asdf and it works without any problems in a Java project:
➜ ~ asdf list java
adoptopenjdk-17.0.0+35
But when checking the java version with java -version in the terminal, it displays the following errors:
~ java…

belgoros
- 3,590
- 7
- 38
- 76
2
votes
1 answer
No 16-jre-slim Docker image found
Does anybody know where can I find docker image JRE SLIM version for JAVA 16.
Couldn't find any from adoptopenjdk, openjdk nor amazoncorretto. Atleast it was not listed as "16-jre-slim" or smth similar.

DevEst
- 21
- 1
2
votes
0 answers
HttpURLConnection is not working with openJDK 11.0.8
I am trying to call API with HttpURLConnection using oracle JDK 11.0.1 and it's working fine with it, but same thing is not working with openJDK 11.0.8. Below is my request header.
connection.addRequestProperty("username",…

Manish Prajapati
- 392
- 2
- 11
2
votes
1 answer
Pentaho Data Integration not working with Openjdk 16
After upgrading from openjdk 15 to openjdk 16, pentaho data integration (version pdi-ce-9.1.0.0-324) throws a java class error. To reproduce the error message download and install openjdk 16 from…

smha
- 21
- 1
- 3
2
votes
0 answers
Debug remote WildFly on Linux from Windows machine
UPDATE
I have troubles with debugging remote WildFly application on Linux (RedHat 7.9) server. My IDE Intellij Idea 2020.1 works under Windows 10.
On Linux server:
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build…

Dmitry Lazarev
- 117
- 1
- 7
2
votes
2 answers
How to solve Gradle docker image freezing on Raspberry Pi with warning about monotonic clock?
I am trying to set up a Docker container that builds and runs a small application. This is my Dockerfile:
#####################
# build the jar
#####################
FROM gradle:jdk11 as builder
COPY --chown=gradle:gradle application…

michpohl
- 852
- 8
- 30