High Resolution Scaling Issues on Linux
Problem
On Linux bundled with Oracle OpenJDK 11, Oxygen JSON Editor does not automatically scale high-resolution images when using the system's scaling settings.
Cause
This happens because Java 11 does not detect the system scaling setting for HiDPI displays on Linux operating system.
Solution
In the Oxygen JSON Editor installation folder, create a new file
named custom_commons.vmoptions. Inside the file, manually add
-Dsun.java2d.uiScale=2
. This command instructs Java to use 2x (200%)
scaling.