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.
Questions tagged [openjdk-11]
251 questions
0
votes
0 answers
SLF4J issue while migrating application from JDK 8 to OpenJDK 11
We've modified the code compatible to OpenJDK 11. When we try deploying the application via Tomcat, below error is encountered:
Caused by: java.lang.IllegalAccessError: class org.slf4j.LoggerFactory tried to access private field…
0
votes
0 answers
Compiler throws InvocationTargetException when using JavaFX
I am trying to configure JavaFX and as soon as I try to compile the file, it throws an InvocationTargetException with the following stack trace:
Exception in Application constructor
Exception in thread "main"…

Adalwin Amillion
- 1
- 1
0
votes
1 answer
Swagger does not work when Application startup file is placed inside a package. Kotlin Springboot
My project directory structure is like following
└── activity
├── app
│ └── ActivityApplication.kt
├── controller
│ └── WelcomeMessageController.kt
├── exception
│ ├── ActivityErrorResponse.kt
│ ├── handler
│ …

Rigz1213
- 118
- 1
- 9
0
votes
1 answer
A fatal error has been detected by the Java Runtime Environment: SIGBUS while installing ZAP proxy in parrot home OS
I was trying to install the ZAP proxy in my parrot home OS, but I'm unable to install it and the error that I'm receiving in the terminal is as follows:
(A fatal error has been detected by the Java Runtime Environment:
SIGBUS (0x7) at…

Immanuel
- 49
- 3
- 8
0
votes
1 answer
Tomcat9 slow response with security manager in OpenJdk11
We added -Djava.security.manager parameter in java options of tomcat9 to enable security manager . Tomcat is running without any issue but when I try to perform some operation then it takes 9-10 min to process that(login, logout of deployed…

rahul sharma
- 33
- 1
- 7
0
votes
2 answers
Tomcat 9 not able to start with OpenJDK 11
I installed Tomcat 9 with OpenJDK 11 but the Tomcat service didn't start and failed with the following error:
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to…

rahul sharma
- 33
- 1
- 7
0
votes
0 answers
maven-javadoc-plugin fails on jdk 11 when compiling for jdk 8
I have a maven-wise simple project targeting Java 1.8 here.
mvn javadoc:javadoc runs fine on OpenJDK 8, but fails on OpenJDK 11 with this error message:
javadoc: error - The code being documented uses modules but the packages defined in…

rü-
- 2,129
- 17
- 37
0
votes
0 answers
Creating Windows Executable for OpenJFX 11 Project in Eclipse with Maven Integration
I'm switching over from Java 8 (Oracle JDK) to OpenJDK 11 and OpenJFX 11. I've successfully gotten my project to work in Eclipse through Maven via the clean javafx:run command using the maven-compiler-plugin however I am having issues building a…

Chris Toh
- 88
- 1
- 11
0
votes
0 answers
Are there new classes for replace ClassBuilder in JavaFX11
I'm migrating my application from Java 1.7 to Java 11.
My application uses JavaFX.
During the migration, I see that classes like TooltipBuilder, GridPaneBuilder, CircleBuilder or TextBuilder are not existing anymore.
Can we find it in JDK11…

pacataque
- 130
- 12
0
votes
0 answers
javax.servlet.UnavailableException:Servlet class MyClass is not a javax.servlet.Servlet while migrating from jdk8 to openjdk11& weblogic to jetty
I am facing MyClass is not a javax.servlet.Servlet warn and application is not going up while deploying in jetty server.
Earlier when running on jdk8 and weblogic it was working fine. i am facing this issue while migrating from jdk8 to openjdk11 and…

andr
- 1
- 1
0
votes
0 answers
Java exception when running wsimport.bat under openjdk-11
I downloaded wsimport and wanted to run it. However, when I run wsimport.bat I get an error message stating that classes could not be found. I use OpenJDK 11 on Windows 10.
Exception in thread "main" java.lang.NoClassDefFoundError:…

Net_Hans
- 115
- 12
0
votes
1 answer
java.lang.UnsupportedClassVersionError even though java -version and javac -version are the same
In my university we are learning about writing RMI applications. When I first tried running the example application in Eclipse 2019-03 I ran into the error:
java.lang.UnsupportedClassVersionError
I successfully ran other projects (non RMI) without…

Tom Smith
- 153
- 1
- 8
0
votes
0 answers
open jdk 11 sun.security.action no exist
I am getting the below error when I try to compile my code:
Error
can not found sun.security.action.GetPropertyAction
Code
File tmpdir = new File(AccessController
.doPrivileged(new GetPropertyAction("java.io.tmpdir")));

andrew
- 39
- 3
0
votes
2 answers
Fatal error compiling: Failed to run the ecj compiler: Unrecognized option : --module-version
Trying to run the following combination:
Maven (3.6.1)
OpenJDK 11
With module-info.java
Fails with the following error message:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on…

jpmsnewbie
- 115
- 7
0
votes
1 answer
Cannot Build JemmyFX for JDK11 - class "com.sun.glass.ui.Robot" not longer existing
In my project I'm using JemmyFX to test my JavaFX-UI.
Now I will update from Java8 to Java11. Because of an exception in my TestRun I have also to update my JemmyFX-Version.
So I tried to check out the JemmyFX-Stuff from openjfx…

Christian Vojacek
- 11
- 2