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

Spring Tool Suite failing to open when configure with OpenJDK 11

My system is having openJDK 11 and don't have Java 1.8 SDK. So, I've tried to configure OpenSDK with Spring Tool Suite software by setting in STS.ini…
cgsabari
  • 506
  • 2
  • 7
  • 28
1
vote
0 answers

WebSocket Implementation in Java 11

So, I have the following code working for connecting to the socket. But I am trying to invoke (or listen to) OnText event from the WebSocketListener, to get the data received from websocket. Any help is much appreciated. public class…
snstuff
  • 299
  • 1
  • 3
  • 9
1
vote
0 answers

Maven build fails on Gitlab CI

I try to run unit tests on Gitlab CI and they fails few times in a row with the same exception 2019-05-30 07:11:41.820 ERROR 316 --- [ main] org.dbunit.database.DatabaseDataSet : Table 'tbl_name' not found in…
Oleh Kurpiak
  • 1,339
  • 14
  • 34
1
vote
1 answer

Compile Java 11 with jacorb

I need to compile my java CORBA applications in java 11, which no longer includes an ORB implementation. I have included jacorb.jar in the CLASSPATH, but I'm still getting errors while compiling, not finding the CORBA imports: import…
dummyhead
  • 81
  • 2
  • 9
1
vote
1 answer

Exception in Application start method with IntelliJ-IDEA

Im trying to work JavaFX with IntelliJ-IDEA. I already set the Scene Builder path, and the requiered JavaFX JARS and libraries but I still get this error that I dont know how to fix. I havent really tried anything to fix this because all the…
1
vote
0 answers

Is the Nimbus theme for OpenJDK 11 (Linux) buggy?

I was working with some old Java apps which use the Nimbus theme, when suddenly this buggy controls make an appearance: This started happening when I updated from OpenJDK 8 to OpenJDK 11 (I am working on Linux). Everything else works as expected,…
0
votes
1 answer

Webflux upload file - out of RAM or swap

I´m facing a strange issue: I´m uploading a file (about 50 MB) via WebFlux and save it to a minio container. This is the code: private Mono saveFileToMinio(FilePart filePart) { log.info(String.format("About to save database named %s…
Thomas Lang
  • 1,285
  • 17
  • 35
0
votes
0 answers

Why Java HttpClient in Scala 2.13 requires JVM parameter "--add-exports"

we have a Scala (2.13.8) project where we use the java.net.http.HttpClient to resolve a simple Rest call. Until the project was built using SBT there was no issue. Since we moved to Maven, we are encountering the following runtime error: cannot…
gifa
  • 86
  • 5
0
votes
1 answer

Test cases are not running when doing a mvn clean install but the project is compiling success

But when I am running the individual test case by right click and run as junit test, they are executing successfully. I am using junit 4. Just to update that I have explicitly created package under src/test/java and deleted the default test class…
0
votes
0 answers

RestTemplate gets java.lang.NoClassDefFoundError in JDK11

After moving to JDK11 RestTemplate gets java.lang.NoClassDefFoundError: Could not initialize class javax.xml.transform.FactoryFinder Here is a usage: this.restTemplate = new RestTemplate()
Vahe Akhsakhalyan
  • 2,140
  • 3
  • 24
  • 38
0
votes
1 answer

How to install OpenJDK Java 11 on a RHEL 7.2 server

I am not able to install openjdk11 on RHEL 7.2. I have tried as **yum install java-11-openjdk-devel** Loaded plugins: product-id, search-disabled-repos, subscription-manager …
CrazyCoder
  • 772
  • 5
  • 11
  • 31
0
votes
1 answer

What is the maximum Duration in Java Akka API?

I'm working with the Akka Java library (unfortunately, the Classic version). When implementing the fault tolerance Strategy, the documentation provide a snippet like this: private static SupervisorStrategy strategy = new OneForOneStrategy( …
0
votes
1 answer

How to print gc log rotating cost in openjdk11?

guys. In my case, I guess gc log rotating cause a long pause safepoint almost 10s.And I find we can print gc log rotating cost in JDK8u242+ with UseGCLogFileRotation…
kimmking
  • 1
  • 3
0
votes
1 answer

Zookeeper java.lang.NoClassDefFoundError: org/eclipse/jetty/server/Connector

I am getting the below error when starting Apache HBase with Zookeeper on my mac. I am using openjdk11. ./start-hbase.sh ************* WARN [main] admin.AdminServerFactory: Unable to load jetty, not starting…
user691197
  • 927
  • 6
  • 20
  • 38
0
votes
1 answer

maven-enforcer-plugin False Positive RequireJavaVersion

I'm new to a project and the project is using the maven-enforcer-plugin. The plugin (version 3.0.0) is configured to require Java 11 11 I also have jdk 11 on my path $ java…
Austin Brown
  • 830
  • 12
  • 24