Questions tagged [openjdk-11]

Open JDK 11 is the open-source reference implementation of version 11 of the Java SE Platform as specified by by JSR 384 in the Java Community Process.

251 questions
2
votes
0 answers

The java.awt.Font.getStringBounds gives different results on openJdk11 and openJdk8

I need to render PDF documents programmatically. I was using itext7 library and openJdk8. All worked fine but I decided to change openJdk8 on openJdk11 and my documents rendered with shifting y coordinates position. result was gotten on openJdk8…
John
  • 1,375
  • 4
  • 17
  • 40
2
votes
1 answer

Undocumented Hotspot OpenJDK System properties

I've recently discovered some undocumented system properties in the JDK's System.Logger API, in particular, jdk.logger.finder.singleton. I couldn't find any web pages which mention this system property or any property at all relating to the…
A248
  • 690
  • 7
  • 17
2
votes
1 answer

Jakarta Mail with OpenJDK 11: java.util.ServiceConfigurationError: jakarta.mail.Provider: Provider com.sun.mail.imap.IMAPProvider not a subtype

I am migrating from java 8 to openjdk-11. Now the Mail (send email with smtp) do not more work. The project use openjdki 11 and jakarta.mail-2.0.0 on Win10. Later I added jakarta.activation-api-2.0.0. Properties props = new Properties(); …
Jaja
  • 662
  • 7
  • 15
2
votes
0 answers

Why are two TLS protocol versions TLS 1.2 and TLS 1.3 used alternatively under heavy load?

I am using Spring Rest template for making GET requests calls to an external API. This API does not support TLS 1.3 yet. The connection to the service works fine during normal work load. During load testing, I observed that some of the calls were…
2
votes
1 answer

proguard: Can't read [C:\Program Files\AdoptOpenJDK\jdk-11.0.6.10-hotspot\lib\rt.jar]

I am building a desktop application. I am using ProGuard with the following config: @proguard_jmods.cfg #-dontshrink -dontoptimize #-dontobfuscate -repackageclasses '' -renamesourcefileattribute SourceFile -keepattributes…
AMAY
  • 67
  • 1
  • 7
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
0 answers

Chunk by chunk large file upload using java rest api

I am writing a module in Microservices, where I have to write a rest end point to upload large files chunk by chunk and save each chunk in local tmp directory.. Will get input as chunk of video file. I am using Java11, Jetty server, SpringBoot…
Priyanka Sinha
  • 61
  • 3
  • 10
2
votes
0 answers

getting errors in cross-compiling openjdk 11u to aarch64

I am trying to cross-compile openjdk 11u to aarch64. I am using following command: bash configure --openjdk-target=aarch64-linux-gnu --disable-warnings-as-errors next I use make command to compile openjdk, but iam getting output errors…
2
votes
1 answer

Execution findbugs of goal org.codehaus.mojo:findbugs-maven-plugin:3.0.5:findbugs failed: Java returned: 1

Findbugs does not support jdk11, I have a project in which I have a dependency jar which uses findbugs. https://github.com/gleclaire/findbugs-maven-plugin/issues/93 Although I don't have findbugs maven plugin in my project but due to the dependency…
2
votes
0 answers

Update ApexChart realtime with Vaadin Flow

the code that I will present now, is made with vaadin and the ApexChart addon, I simply want to update the line-type graph in real time, I have the @Push annotation in the MainView and a ScheduledExecutorService that runs every second Vaadin version…
2
votes
2 answers

Running Derby as a server on Linux using JDK11

I am at my wits end! I have a minimal install of Ubuntu Server 18.04 and OpenJDK 11 (headless). Downloaded, to a local folder are the java 9+ binaries for Derby (db-derby-10.15.2.0-bin) Path and Environment settings are all correct! When I start…
Jeff M Palmer
  • 29
  • 1
  • 7
2
votes
1 answer

Apache POI Write to Excel Works in Eclipse but not after compiling to Jar in OpenJDK 11

I have a project which involves writing to an Excel spreadsheet (.xlsx) using Apache POIs XSSFWorkbook() class. It worked fine in a previous version of Apache POI for Java 8. Recently we migrated our code base to OpenJDK 11 and updated our Maven…
Chris Toh
  • 88
  • 1
  • 11
2
votes
2 answers

How to create a file / directory in remote machine using Java11

I would like to know how to create a file / directory in remote machine using Java11 ? I did try to use: process = Runtime.getRuntime() .exec("ssh root@" + hostname + " 'mkdir -p "+mdbDir+"'") .wait() or waitFor(); But i am…
Vijay
  • 1,026
  • 3
  • 11
  • 28
2
votes
0 answers

Springboot deploy fails in wildfly 17 after update to jdk 11

I have some apps built with spring boot 2.1.2 and running in wildfly 10 with jdk 8, so far every thing ok... but after update the apps do springboot 2.2.1, wildfly 17 and open jdk 11 everything "exploded". If it happened with someone please could…
georgecro
  • 41
  • 4
2
votes
0 answers

Create .exe from JAR including JRE with openJDK11

I am trying to make a .exe without result, I am using OpenJDK 11 and netbeans11, first I tried to do it using Package as >> All Artifacts but I am getting just this error I tried to fix it with no result finally nbproject\build-native.xml:519:…
ninah
  • 21
  • 1