Skip to content
Advertisement

Java 11 + Oracle Forms-Standalone Launcher + 125%-Zoom = blurry application

After we switched from Java 8 to Java 11 with our Oracle Forms + Reports-Application, the GUI-font appears quite blurry when zoomed to 125% or 150%. For testing we switched back and replaced Java 11 with Java 8 and the application appeared fine when zoomed. How to fix it with Java 11?

We already tried the solutions we found online but nothing worked: Starting Java 11 with -Dsun.java2d.ddscale=true has no effect. Another possible solution would be to adjust the default DPI awareness mode of our application but we have no clue how and where to put a manifest file.

Any ideas?

Advertisement

Answer

There are numerous Java bugs filed against this and similar issues. Unfortunately, the exact cause has yet to be identified mostly because a good (Java) test case has not been provided to the Java team.

That said, some improvements have been made in newer Java versions. Also, various combinations of these Java switches have claimed to offer some help. Which one is right for you will depend on the exact issue.

-Dsun.java2d.dpiaware=true

-Dsun.java2d.uiScale=true

-Dsun.java2d.autoScaleThreshold=1.5

-Dsun.java2d.uiScale=1.0

If you decide to contact Oracle Support, refer to bug 31589993. However, I would suggest testing with newer Java versions first. The latest supported with Forms 12.2.1.4 is 17.0.2

https://www.oracle.com/java/technologies/downloads/#jdk17-windows

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement