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
1
vote
1 answer

How to make shell visible to java in docker container

I am trying to run jython.sh from my Docker container and below are the Jython and Java versions. We really need to suppress this error, this is very misleading and looks messy. This error is displayed before the execution of every call to Jython…
PoornimaCR
  • 41
  • 8
1
vote
0 answers

java 11 gc log path in Windows change file separator

Java AdoptOpen 11.0.13 I'm running the following java command in a Windows Server 2016 operating system: java -Xlog:gc*:file="C:\users\test_gc.log" -version I would like to be able to do: java -Xlog:gc*:file="C:/users/test_gc.log" -version But…
Blaisem
  • 557
  • 8
  • 17
1
vote
0 answers

OpenJDK11 and eclipse link 2.7.1 Compatibility issue - getting java.lang.IllegalArgumentException: NamedQuery of name: abcd not found

Below jars worked fine with OracleJDK 11 but not working with openJDK11. eclipselink.2.7.1.jar javax.persistence.2.1.1.jar java.lang.IllegalArgumentException: NamedQuery of name: abcd not found. …
1
vote
1 answer

JNLP file blocked by security manager stating the error -> java.security.AccessControlException: access denied

I am trying to run my jnlp file which is basically getting my jenkins agent online after i reboot my pc , previously with java web start recently with OpenWebStart i am getting this issue every time when i launch jnlp file after 02 - 03 seconds it…
Bilawal
  • 244
  • 5
  • 19
1
vote
1 answer

adoptopenjdk - select a specific minor version of the OS

In my docker file I use FROM adoptopenjdk/openjdk11:jre-11.0.10_9-alpine (origin: https://hub.docker.com/r/adoptopenjdk/openjdk11) This installs alpine version 3.14 as can be seen…
mosh
  • 404
  • 2
  • 8
  • 16
1
vote
1 answer

Image adoptopenjdk/openjdk11-openj9 not available

Some days ago our jenkins builds broken because the image "adoptopenjdk/openjdk11-openj9" was not available on docker hub. This is the error: docker pull adoptopenjdk/openjdk11-openj9 Using default tag: latest latest: Pulling from…
lquitadamo
  • 633
  • 9
  • 22
1
vote
2 answers

adoptopenjdk alpine vs alpine-slim in AdoptOpenJDK maintained images

In the AdoptOpenJDK maintained images docker hub repo i see that among others there are two builds for alpine namely alpine & alpine-slim. I downloaded both & see a good 81 MB difference in the image size (see below) between both. I tried using the…
lmk
  • 654
  • 5
  • 21
1
vote
1 answer

Is there a difference in how AdoptOpenJDK and AzulOpenJDK handle new File("version")?

I have the below in my build.gradle file static def getVersionName() { return new File("version").getText().trim() } When I use AdoptOpenJDK, it compiles well. However, when I use AzulOpenJDK, it complains: * What went wrong: A problem occurred…
Elye
  • 53,639
  • 54
  • 212
  • 474
1
vote
1 answer

latest AdoptOpenJDK cannot compile Java 8 Maven project

I had not developed Java in 10 years and needed to quickly compile a plugin project written with Java 8 features. I downloaded the latest JDK (AdoptOpenJDK 16) and installed it on my MacOS development machine. Looking at the POM file for the…
Taterhead
  • 5,763
  • 4
  • 31
  • 40
1
vote
2 answers

Java Springboot build fails in raspberry pi

Summary I'm trying to build springboot application on my raspberry pi and I get SIGBUS (0x7) error Error: # A fatal error has been detected by the Java Runtime Environment: # # SIGBUS (0x7) at pc=0xb3de3a84, pid=7, tid=32 # # JRE version: OpenJDK…
Nikhil.Nixel
  • 555
  • 2
  • 11
  • 25
1
vote
0 answers

Gradle falsely determines Jar task UP-TO-DATE

I recently got a peculiar problem when developing a hobby project in Java together with three friends. We are all using Adopt OpenJDK 15, Netbeans 12.1, and Gradle 6.8. The project is a Gradle multi-project build consisting of several projects, of…
chrillof
  • 325
  • 2
  • 15
1
vote
1 answer

Is Java RMI doesnt work traditional way with AdoptJDK Openj9 JVM?

I am trying to start a simple RMI server with AdoptOpenJDK's OpenJ9 JVM but, the program exits with no error/exception and the RMI server doesn't start. Exact same program works with AdoptOpenJDK's HotSpot JVM and other oracle variants. Sample…
ladybug
  • 39
  • 7
1
vote
1 answer

Command VM.native_memory not recognized for java process started with -XX:NativeMemoryTracking=summary

My environment is MacOs + Java 11: java -version openjdk version "11.0.8" 2020-07-14 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.8+10) Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.21.0, JRE 11 Mac OS X amd64-64-Bit Compressed References…
codependent
  • 23,193
  • 31
  • 166
  • 308
1
vote
0 answers

AdoptOpenJDK apt-get update fails with error "Unknown date format Bad header data"

I am trying to install AdoptOpenJDK Java version 8 with OpenJ9 as the JVM on Debian 10.4. I used these instructions to install it. But when i do sudo apt-get update to refresh my package list I recieve this error: Err:6…
Gregyyy
  • 26
  • 1
  • 4
1
vote
1 answer

Compile error on Serializable when compiling with OpenJdk11

I am getting compilation error when compiling a Jdk8 codebase with OpenJdk11 on Serializable class with error : The type java.io.Serializable cannot be resolved. It is indirectly referenced from required .class files [ERROR] Failed to execute goal…
YS_NE
  • 194
  • 2
  • 21
1 2 3
8 9