ra4king / CircuitSim

Basic Circuit Simulator
https://ra4king.github.io/CircuitSim
BSD 3-Clause "New" or "Revised" License
76 stars 28 forks source link

CircuitSim jar has only x86_64 native libraries #92

Open ausbin opened 1 year ago

ausbin commented 1 year ago

This is a lurking remaining subset of #91 it seems.

If I extract an official Circuitsim jar, the dynamic libraries appear to be for x86_64 only:

$ file *.dylib
libdecora_sse.dylib:   Mach-O 64-bit x86_64 dynamically linked shared library, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|WEAK_DEFINES|BINDS_TO_WEAK|NO_REEXPORTED_DYLIBS>
libglass.dylib:        Mach-O 64-bit x86_64 dynamically linked shared library, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|NO_REEXPORTED_DYLIBS>
libjavafx_font.dylib:  Mach-O 64-bit x86_64 dynamically linked shared library, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|NO_REEXPORTED_DYLIBS>
libjavafx_iio.dylib:   Mach-O 64-bit x86_64 dynamically linked shared library, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|NO_REEXPORTED_DYLIBS>
libprism_common.dylib: Mach-O 64-bit x86_64 dynamically linked shared library, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|NO_REEXPORTED_DYLIBS>
libprism_es2.dylib:    Mach-O 64-bit x86_64 dynamically linked shared library, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|NO_REEXPORTED_DYLIBS>
libprism_sw.dylib:     Mach-O 64-bit x86_64 dynamically linked shared library, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|NO_REEXPORTED_DYLIBS>

This is painful for students with M1 laptops, who get an error similar to #91.

Unfortunately, this seems more annoying to fix than #91, according to this reddit giga-comment at least. I still don't know what Oracle was thinking removing JavaFX from the JRE. Do you have any ideas for how to fix this?