Difference between String trim() and strip() methods in Java 11

In short: strip() is “Unicode-aware” evolution of trim(). Meaning trim() removes only characters <= U+0020 (space); strip() removes all Unicode whitespace characters (but not all control characters, such as \0) CSR : JDK-8200378 Problem String::trim has existed from early days of Java when Unicode had not fully evolved to the standard we widely use today. … Read more

Spring Boot 2.6.0 / Spring fox 3 – Failed to start bean ‘documentationPluginsBootstrapper’

This problem’s caused by a bug in Springfox. It’s making an assumption about how Spring MVC is set up that doesn’t always hold true. Specifically, it’s assuming that MVC’s path matching will use the Ant-based path matcher and not the PathPattern-based matcher. PathPattern-based matching has been an option for some time now and is the … Read more

JavaFX module javafx.graphics

The root cause for the issue is contained in this line: Caused by: java.lang.IllegalAccessException: class com.sun.javafx.application.LauncherImpl (in module javafx.graphics) cannot access class reports.Main (in module Reports) because module Reports does not export reports to module javafx.graphics Application.launch uses reflection to create a instance of the application class using reflection. External classes like Application are only … Read more

How to install OpenJDK 11 on Windows?

Extract the zip file into a folder, e.g. C:\Program Files\Java\ and it will create a jdk-11 folder (where the bin folder is a direct sub-folder). You may need Administrator privileges to extract the zip file to this location. Set a PATH: Select Control Panel and then System. Click Advanced and then Environment Variables. Add the … Read more

Where is JRE 11? [duplicate]

The whole structure with Java 11 has changed. Java is now a modular platform, where you can create your own “JRE” distribution with specifically the modules that you need to run your application. The release notes at https://www.oracle.com/technetwork/java/javase/11-relnote-issues-5012449.html have the following sentence: In this release, the JRE or Server JRE is no longer offered. Only … Read more