Well I have not had an issue yet when it comes to using a real mac and high sierra. But, JavaFX relies on the GPU and its accelerations, and that has changed significantly in Mac OS, they switched to the Metal API which they flipped the switch in Mojave, so older machines with older GPUs (like mine) are now shut out.
Also VMs dont emulate or even provide support for GPU acceleration, so its of no surprise.