Reputation: 1
I have a java application that loads a third-party library. This is a native library that is wrapped in a java package and has an underlying windows and linux implementation.
I have an M1 mac and an Intel mac and I've managed to successfully get the application running on the Intel mac using a linux distro running in VMware.
However, I've been not so successful in doing this on the M1 mac. The java application will build and run but fails when calling the 3rd party library. Also, the x86-64 linux distro won't run in vmware on the m1 - I tried the m1 tech preview and intel on rosetta.
Looking for ideas on how I might if possible solve this.
Upvotes: 0
Views: 769
Reputation: 96
I am using UTM to emulate x86-64 distros. I haven't faced any problems. There are different options here. I think you can figure it out using UTM. It is an emulation and virtualization solution. This allows us to either run native ARM VMs or execute Intel x86 Virtual Machines by using emulation.
Upvotes: 0