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
2
votes
1 answer

Unable to locate an executable at "/Library/Java/JavaVirtualMachines/adoptopenjdk-15.jdk/Contents/Home/bin/policytool" (-1)

How to resolve the following problem? $ policytool Unable to locate an executable at "/Library/Java/JavaVirtualMachines/adoptopenjdk-15.jdk/Contents/Home/bin/policytool" (-1) $ OS: Mac Update: It works for JDK1.8.0_181 but not for JDK15
Arvind Kumar Avinash
  • 71,965
  • 6
  • 74
  • 110
2
votes
1 answer

Error when compiling Jasper Reports using Jasper Reports API 6.13.0 with Adopt OpenJDK 11

we have a utility (CompileJasperReports.jar) that we use to compile all reports found in a folder When using JasperReports 6.7 API with Java 8 the utility runs fine. The call is "C:\Program Files\Java\jdk1.8.0_172\bin\java" -jar…
Michael
  • 73
  • 5
2
votes
1 answer

JNI_CreateJavaVM fails with Adopt OpenJDK 11.0.8

Our 64 bit C program instantiates a JVM using JNI. Currently we are using Adopt Open JDK 8.0.1920.12 and everything works fine. Now we are trying to migrate to Adopt Open JDK 11.0.8.0. When using that one, JNI_CreateJavaVM always returns -1. What I…
Michael
  • 73
  • 5
2
votes
1 answer

How to run JRE in server mode?

While trying to resolve another problem, I noticed my AdoptOpenJDK JRE (build 11.0.6+10) was running in client mode on my Windows 10 desktop with 64 GB of RAM. java.vm.name=OpenJDK 64-Bit Client…
Andy Thomas
  • 84,978
  • 11
  • 107
  • 151
2
votes
1 answer

Purpose of AdoptOpenJDK jdk-slim vs jre?

I wonder what is the use case for jdk-slim docker image? In which cases should I use jdk-slim instead of jre? Are there any well-known issues (e.g. some monitoring tools are not working on jre?)
pixel
  • 24,905
  • 36
  • 149
  • 251
2
votes
1 answer

Security Updates with OpenJDK distribution

With changes in JDK licensing agreement from Oracle, companies are switching to OpenJDK. My question is - which distribution of the OpenJDK would be a better choice? I am evaluating Oracle Open JDK and AdoptOpenJDK, and they both seems to be an idea…
Vicky
  • 5,380
  • 18
  • 60
  • 83
2
votes
2 answers

Docker tag not working for alpine openjdk 11?

On this page https://hub.docker.com/r/adoptopenjdk/openjdk11/ I have the following DockerFile to try out the jdk 11 alpine image like so FROM jre-11.0.6_10-alpine I run Docker and get this error and you can see my login step…
Dean Hiller
  • 19,235
  • 25
  • 129
  • 212
2
votes
1 answer

Isn't AdoptOpenJDK using (the JVM of) OpenJDK?

The AdoptOpenJDK project seems to ship JDKs bundled with HotSpot JVM (as one possible option). But what is its relationship with OpenJDK then? I understand the word OpenJDK can be ambiguous. Here I am referring to (quoted from Wikipedia) a free…
wlnirvana
  • 1,811
  • 20
  • 36
2
votes
1 answer

Maven compile failure using OpenJ9 with Lombok

I would like to ask help of community. I made an experiment to change jvm to Eclipse OpenJ9 VM AdoptOpenJDK from Oracle Hotspot. I created a simple spring boot application but I got an error in compile time. java -version: openjdk version "13"…
Gabor Szabo
  • 195
  • 3
  • 14
2
votes
1 answer

How and where does allocating a heap memory interpreted inside OpenJDK source code?

I'm trying to alter OpenJDK source for my research project. I want to know the code flow when I invoke a new operator inside a Java program. class MyFirstProgram { public static void main(String args[]) throws Exception{ …
srccode
  • 721
  • 4
  • 16
2
votes
1 answer

Deployment issue with IntelliJ when moved to open-jdk 8u212

We recently migrated our systems to open-jdk from oracle jdk. When I tried deploying my war application, Facing some issues with the same. C:\Softwares\apache-tomcat-8.0.24\bin\catalina.bat run [2019-06-14 05:19:12,449] Artifact expresso:war…
R.B.
  • 479
  • 5
  • 19
2
votes
2 answers

Where is the Rhino javascript JSR-223-wrapper for use in JDK8?

My purpose is to have a JSR-223 javascript engine available in the AdaptOpenJDK 8 VM. So i thought to use the already familiar Rhino. The OpenJDK wiki document…
Houtman
  • 2,819
  • 2
  • 24
  • 34
1
vote
0 answers

Running gradle commands fail with javax.annotation does not exist

Running tests and building from Intelij works fine. But, when I try to build or test an application from the command line I'm getting this error error: package javax.annotation does not exist @javax.annotation.Generated(value = "class…
dev-rifaii
  • 217
  • 2
  • 9
1
vote
1 answer

Java - Automated CPU / Memory sampling - alternative to HPROF

I was used to work with HPROF in order to capture CPU time and memory usage while developing applications. For some reasons, I was forced to work with following JDK : Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.21.0, JRE 11 Windows 10…
a-mn
  • 13
  • 3
1
vote
0 answers

Folder error setting up WSDL in Matlab on mac

I'm trying to set up WSDL tools in Matlab on a mac (following this tutorial: https://www.mathworks.com/help/matlab/matlab_external/display-a-world-map.html). The matlab.wsdl.setWSDLToolPath('JDK',jdk,'CXF',cxf) function needs to get the path for…
Henry Brice
  • 280
  • 1
  • 2
  • 18
1 2 3
8 9