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
0
votes
0 answers

IntelliJ not setting the system property for my project

I am trying to set and retrieve a System Property. In my IntelliJ I have placed the -D parameter correctly in the Edit Configurations -> Program Arguments. However, when the project is executed, this value is not added to the running JVM. If i add a…
Knitey
  • 49
  • 6
0
votes
2 answers

Class cast exception occur while updating OpenJDK version from 11.0.2 to 11.0.10

After updating the minor version of OpenJDK , I am getting an error in any API call with HTTPS protocol The same code was working fine with the older version. Older version(Working fine): java version "11.0.2" 2019-01-15 LTS Java(TM) SE Runtime…
0
votes
1 answer

java 'Robot' class memory leak

I making share screen program.(client) Sadly, I found out that a memory leak was happening. To check for memory leaks, I've simplified it to: import java.awt.*; import java.awt.image.BufferedImage; public class Sharescreen { public…
0
votes
0 answers

Open JDK Font issue in Linux

Running a Java application which uses Jasper to generate the report on Open JDK 11.0.3-64 version. Application works fine on the windows where as it fails to generate the report in Linux. Appears like the JDK on linux is missing the…
santhosh
  • 11
  • 1
0
votes
2 answers

Java JDK VScode issues

I installed java jdk using sdkman on my windows machine. I am using wsl for this purpose. However, I need to add this to my VScode and when I look at the installed jdk's available to me I only see these: This does not display the JDK I installed…
TanDev
  • 359
  • 3
  • 5
  • 13
0
votes
0 answers

Problem with configuration java security provider by java.security file for EAP 7.2 and OpenJDK11

I’m try to deploy war app on Eap7.2 with OpenJDK 11 (Zulu) and I'm having problem with java.security file. My app need Luna Provider (for HSM). Of course, I added a…
Akzylus
  • 21
  • 3
0
votes
0 answers

Eclipse error: The package javax.xml.namespace is accessible from more than one module: , java.xml

I have a maven multi-project build, just upgraded from java-8 to java-11 and got it working all fine, when building from maven command-line with jdk-11. However, in Eclipse, I get tons of these errors, like: The package javax.xml.namespace is…
Rop
  • 3,359
  • 3
  • 38
  • 59
0
votes
1 answer

Apache-JMeter 5.4

I set an open JDK version in my pc to run JMeter. I was confirmed that jdk installation is fine by "java -version" command. Till now, all going well. But when I tried to run Jmeter.bat file a cmd interface appears that is irreversible. Here is the…
0
votes
0 answers

SonarQube wrapper stopped on Windows with no indicator

I have installed this version of the OpenJDK by downloading the zip and following this post to set JAVA_HOME and PATH Windows environment variables. Executing java -version gives me this: C:\git\sonarqube-8.6.0.39681\bin\windows-x86-64> java…
Matt W
  • 11,753
  • 25
  • 118
  • 215
0
votes
0 answers

Resource directory has the same name as a Class without ".class"

I have the following directory structure within my project: src/ ├── main │   ├── java │   │   └── com │   │   └── soebes │   │   └── packages │   │   └── f1 │   │   └── First.java │   └── resources │   …
khmarbaise
  • 92,914
  • 28
  • 189
  • 235
0
votes
0 answers

Failed to execute goal org.openjfx:javafx-maven-plugin:0.0.4.I started with Fxml files and I am cant attach them to controllers

JDK:11.0.8 Netbeans: 12.1 I have been looking for hours on the internet. Kinda new on java so it jyst doesnt feel good. Kindly help me with this error. I tried changing JDK but that didnt work too. I dont know if the maven FXML archaetype supports…
0
votes
0 answers

WARNING: An illegal reflective access operation has occurred, while using OpenJDK 11

I recently updated to OpenJDK 11.0.9.1 2020-11-04, and I'm now getting this warning when using mvn clean. This is the warning: WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by…
RdTek
  • 71
  • 1
  • 1
  • 8
0
votes
0 answers

LUW DB2 JDBC Connection Issue on Open JDK 11

I am not able to connect LUW DB2 database using JDBC Type4 driver on Open Zulu JDK 11. I have tried all available latest DB2 JDBC Drivers (Type 4) but same issue with all drivers on JDK 11. Things are working fine on JDK 8. Getting below…
Ashish
  • 1
0
votes
1 answer

IntelliJ unable to run JUnit5 tests with JDK 11

I upgraded the JVM on my system from JDK 8 to JDK 11 & configured my IntelliJ IDEA (2019.1) to use it. I am able to compile fine, but can no longer run JUnit5 tests from within the IDE. I created a basic JUnit…
Perihelion
  • 33
  • 1
  • 6
0
votes
2 answers

How to configure Open JDK 11 in STS?

How to configure Open JDK-11 in STS(3.5)? When i go to window > Preferences > Java > Installed JRE's and provide OPENJDKHomeFolder\bin, i get a message "Target is not a JDK root. javaexecutable not found". I could not find any…
Pradeep
  • 35
  • 2
  • 6