This is probably a toolchain issue indeed. There shouldn't be a real difference between OpenJFX and other Mac applications. It's probably (hopefully) just compiling/linking with a few specific flags to set the CPU.
- Johan On Thu, Jul 2, 2020 at 2:51 PM Kevin Rushforth <[email protected]> wrote: > At WWDC, Apple indicated that they have run the JDK on prototype Arm HW > using Rosetta2. Once we get our hands on some HW we'll test JavaFX as > well. I expect that it will run reasonably well. > > I think that an ARM port for JavaFX won't be too difficult, although I > doubt the existence of Linux ARM for embedded platforms will help much > with the Mac. Most of the work will be upgrading to Xcode 12 and > producing universal (fat) binaries again, which we did back in the very > early days for ppc and intel. > > As for a Metal port, we do plan to get started on that soon (we've done > some very preliminary looking). > > -- Kevin > > > On 7/1/2020 5:46 PM, Scott Palmer wrote: > > JavaFX already runs on some Arm-based devices like the Raspberry Pi, so > I expect an Arm-based port for new Macs won’t be that big of a job > (relatively speaking) > > > > Hopefully by that time there will be a Metal-base rendering pipeline as > well. The Metal-based pipeline for Swing seems to be coming along nicely. > > > > I don’t know if Oracle has access to one of the early developer boxes > that runs macOS on arm or not. If they don’t, then a Java/Java FX port may > not be available on day 1. That being said, perhaps Rosetta 2 will run the > JDK/JRE until a proper port is available. I don’t know if the JIT compiler > will work with Rosetta though. If it doesn’t then that certainly makes a > proper port more urgent. > > > > > > Scott > > > >> On Jul 1, 2020, at 2:13 PM, Danny Gonzalez < > [email protected]> wrote: > >> > >> Hi All, > >> > >> Not sure if this is the correct place to direct this conversation but > here goes. > >> > >> With the imminent arrival of Arm Macs in late 2020 running MacOS Big > Sur, what are the plans to ensure that OpenJFX and Java will run on this > platform? > >> > >> Are there plans to get the Developer Transition Kit to test on real > hardware prior to the release of consumer hardware? > >> Are there testers testing on MacOs beta? > >> > >> Will OpenJFX and Java be able to run natively in this new Arm Mac > environment? > >> Will OpenJFX and Java be able to run in the Rosetta emulator? > >> > >> We have many MacOS customers, many of whom will be early adopters and > upgrade to the new Arm Macs so this could be a big issue for us. > >> > >> Thanks > >> > >> Danny > >> > >> > >
