init()
Creates a new Rosetta directory share, or returns an error if Rosetta isn’t installed.
Declaration
init() throwsDiscussion
Check the status of Rosetta by examining the availability class property before creating a new Rosetta directory share to ensure the capability is both supported and available on host Mac. For complete instructions on installing Rosetta see doc:running-intel-binaries-in-linux-vms-with-rosetta.