jbang
jbang copied to clipboard
better aarch64/m1 detection of javafx
I accidentally committed https://github.com/jbangdev/jbang/commit/3b7e83557152a9f54253c5eb1af3b7fae16ea76f directly to main - not really bad but it only solves the issue of M1/aarch64 detection partially.
with this update of detection IF you run the JVM with the right architecture then all is fine but if you run lets say with java 11 you end up with x86_64 where when you launched with --java 17 then it will actually run under a java with aarch64.
opening this issue to see if we can find a reliable way to detect this better.