Read before installing MADCUBA in MAC

IMPORT BEFORE INSTALL IN LAST MAC (Apple with chip M4)

Some of the latest Apple computers no longer come with Rosetta 2 pre-installed (Learn more). Rosetta 2 is required to run MADCUBA and other software designed for Intel-based Macs.
If you encounter issues running MADCUBA, please ensure that Rosetta 2 is installed. You can use command: softwareupdate --install-rosetta --agree-to-license
If it isn't install the showed error is: "./run.sh: line 31: jre/bin/java: Bad CPU type in executable"
If problems persist after installation, feel free to contact us for further assistance.

OBSERVATION DURING INSTALL

When it is installed, there are several java components which MAC indicate to be malware.

When install MADCUBA, it necesary go:

Go apple in top left.

Then 'Systems Preferences' / 'Security and Privacy' / 'General'

In down panel say: 'Allow apps downloaded from:'
    x 'App Store'
    x 'App Store and identified developers'

When install MADCUBA, and show message 'the component java not verified(for example /jre/lib/server/libjvm.dylib)', then too show a message ask if you accept this component.
    You say 'yes', and install MADCUBA again.
    Show message 'the component java not verified', and continue approved in window 'Preferences' / 'Security and Privacy' / 'General',

Continue until approved these elements:
    /jre/lib/server/libjvm.dylib
    /jre/lib/server/libjsig.dylib
    /jre/lib/libawt.dylib
    /jre/lib/server/../libmlib_image.dylib
    /jre/lib/libawt_lwawt.dylib
    /jre/lib/server/../libosxapp.dylib
    /jre/lib/libfontmanager.dylib
    /jre/lib/libosxui.dylib
    /jre/lib/libdcpr.dylib
    /jre/lib/libjpeg.dylib