I have waited a long time to post this due to alot of tests regarding this, but here it comes.
Is JavaFX SDK working as expected on the virtual Macs and/or real hardware you have tried?
From my own experience SDK's does not work well on macOSX High Sierra and Mojave.
The Java settings pane on Mojave is empty on JVM. Not sure about real hardware though.
However on EL Capitan (vmWare) everything seems to work fine except some pasting enigma with the 'v' char.
Used for testing: Windows 7, Windows 10, vmWare v10, 12 and 15. SDK 8 and also 9.0.4.
CPUs: AMD Phenom II 3.4 GHz, Intel Core i7 3.6 GHz (4.7 GHz OC).
macOSX El Capitan, Sierra, High Sierra, Mojave.
@Erel Have you ever been using Vmware or VirtualBox? My experience is that it can be time consuming to get MacOS to run.
I even read that JVM is not fully compatible with hardware because Apple don't want to lose sales!! As they only support Intel CPUs.
Granted the above is split between two major architectures, PPC and Intel. I dont even think Java 8 would even run on a PPC Mac, which would be Leopard and before.
I dont have VmWare, I dont have any virtual machines besides my Win7 one. My laptop is also just out of support for Mojave (mid 2011) so no go there. its running High Seirra.
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.
Also TBH, I havent used MacOS in a virtual machine since Snow Leopard. haha. However I may have to get back into VMs so I can run the latest OS to keep up with xcode and build servers for IOS. as I am sure eventually they will kill off High Sierra, which means my mac is pretty much obsolete.
Don't work with VirtualBox 6.0.4 / High Sierra (10.13.6) - Java JDK 8 212 on Xeon 3.3 Ghz / 32 Go RAM
At compilation :
2019-04-21 14:15:49.130 java[829:15555] CGLChoosePixelFormat error: 10002
and the app window loading by the b4j-bridge don't shows the buttons and labels.
Left the sample on Win10, right the sample on High Sierra VM
@chams Thanks for sharing your experience. That supports also my own test on High sierra and Mojave but I used vmWare. I believe Xeon was made by Intel which should be supported by Apple. You might confirm if El capitan works with VirtualBox 6.0.4 but that's optional of course. It's a rather time consuming task to set it up but it's fun once it works (like with code)