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
367
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
  • 23,642
  • 17
  • 61
  • 78
12
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,871
  • 19
  • 22
12
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
  • 7,103
  • 6
  • 40
  • 101
11
votes
1 answer

What is the difference between IBM Semeru and Adoptium

I wanted to update my JDK, so I went to AdoptOpenJDK to download one. I saw that they have moved to Adoptium, and so I went over there. There I saw that there were no options to choose the JVM, and when I downloaded the installer, it was for…
user7975284
11
votes
2 answers

Why does a jar file have no permissions to read from disk when started via double-click - but not if started from the Terminal?

On a MacBook Pro (2015) with fresh-installed Big Sur and AdoptOpenJDK 11 I developed a Java program for educational purpose that uses the JFileChooser. I did not use any IDE-specific code. As the rest of the program does not matter, here is a…
user14896726
  • 143
  • 1
  • 6
11
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
  • 590
  • 6
  • 14
8
votes
1 answer

JCE in AdoptOpenJDK 11

Java Cryptography Extension (JCE) can be found here, but that page says Current versions of the JDK do not require these policy files. They are provided here for use with older version of the JDK. JDK 9 and later ship with, and use by default, the…
crusy
  • 1,424
  • 2
  • 25
  • 54
7
votes
1 answer

Java Flight Recorder 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,675
  • 3
  • 37
  • 45
7
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
  • 13,411
  • 42
  • 184
  • 351
6
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
  • 13,411
  • 42
  • 184
  • 351
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 -…
5
votes
5 answers

Idea Intellij: Error:java: error: release version 20 not supported, maven.compiler.target in pom.xml

I have a Idea Intellij project like this: Test.java: public class Test { public static void main(String[] args) { System.out.println("Test"); } } pom.xml:
parsecer
  • 4,758
  • 13
  • 71
  • 140
5
votes
2 answers

What are the advantages of installing Eclipse Temurin OpenJDK in place of OpenJDK Deb Package on Debian?

I have on my Debian 11 Bullseye these JDK installed : sudo update-java-alternatives -l java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 java-1.8.0-openjdk-amd64 1081 …
S. TOURE
  • 59
  • 1
  • 5
5
votes
2 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
  • 53,639
  • 54
  • 212
  • 474
5
votes
0 answers

Spring Boot 2.3.4 + OpenJ9: Unhandled exception

During last days we are suffering a lot of JVM crashes. We have been using OpenJ9 (8 & 11) without any problems, but some days ago we have started to have a lot of crashes. Two examples from today: Unhandled exception Type=Segmentation…
1
2 3
8 9