You might want to try installing java 12 to check if that works better. Java 9 is supposed to add better HDPI support, but I don't know if that alone is sufficient to fix the issue you're having. Note that you need to install one of the latest pre-releases to test this, because the version is limited to java 8 for the current stable release