![]() System Java fallback, launches Fiji, No issues. my universal imagej-macosx (x86/arm64), with no JRE: Wrong architecture error, system Java fallback, launches Fiji, No issues. my universal imagej-macosx (x86/arm64), with current official JRE (x86): current official imagej-macosx (x86), with native JRE inside Fiji.app (Azul 11 in my case): Launches Fiji after fallback to System Java. current official imagej-macosx (x86), with no JRE and native system Java (Azul 11 in my case): current official imagej-macosx (x86), with current official JRE (x86):Ģ. It works fine with the following behavior when launched from the command line to monitor errors (there's some warnings too regarding patcher/injector, but they seem of no issue):ġ. I've tested this binary on my Apple Silicon M1 Mac. ~/dev/imagej-launcher > lipo -info ImageJ-macosxĪrchitectures in the fat file: ImageJ-macosx are: x86_64 arm64` The project compiled with no issue and the binary is universal: I also had some Java path issues, which may be a Big Sur thing. I made a fork () and tweaked CMakeLists.txt to provide the two arch for cmake (to make a universal binary). This is also supported by cmake, which I was pleased to see is used by the imagej-launcher. It does report an architecture mismatch error and does a fallback to system Java, which results in a 2nd Fiji icon in the dock-minor inconvenience.Īs noted in the thread, Apple docs show you can build for a different architecture than you run (can't test obviously) and can build universal binaries. Non-fat file: ImageJ-macosx is architecture: x86_64 Applications/Fiji.app/Contents/MacOS> lipo -info ImageJ-macosx The existing launcher actually works-despite being x86. (The normal Mac OS install also works fine in Rosetta, but is markedly slower.) ![]() I have Azul 11, but native OpenJDK is also available via homebrew, and use of the "No JRE" Fiji. So for Fiji/imagej the key is native JRE. … I've started a image.sc thread regarding getting things to work smoothly *native* rather than in Rosetta emulation.Įverything works when architectures are matched, so everything emulated or everything native. I've been using Fiji on an Apple Silicon M1 (arm64) MacBook Pro (Big Sur 11.4) I’m clearly missing a step, and I’m wondering whether someone can help me figure out what it is / how to get this bundle to run using the native openJDK. However, when I click the Fiji.app, it still asks me to enable Rosetta. ![]() I presume brew is smart enough to install only a native JDK? I’ve installed openJDK with brew install openjdk.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |