Open alexvfrolov opened 3 years ago
Hello @alexvfrolov, since we dropped the support for macOS, J2V8 does not provide a build for macOS but of course, you can build the J2V8 on your machine for macOS. I did some experiments on how we can enable it for macOS again. Please refer that branch to see what should be done: https://github.com/eclipsesource/J2V8/tree/macos_build
There is a workaround for the m1 j2v8, as we know, apple has Rosetta to run the apps build for x64 intel chip, we can use the x64 version JDK and let it run with Rosetta 2 to emulate the x64 to run the java program in M1 series chip to address this issue.
There is a workaround for the m1 j2v8, as we know, apple has Rosetta to run the apps build for x64 intel chip, we can use the x64 version JDK and let it run with Rosetta 2 to emulate the x64 to run the java program in M1 series chip to address this issue.
Can you elaborate, I’ve installed Rosetta but still get this error.
@ronamir1 do you have replace the JDK to a x64 version? for example:
As shown in the picture, the jdk with aarch64 suffix is for apple chip, and the other for intel x64, you should download a x64 jdk and keep sure your codes running on it.
Is there any traction on this thread please?
Hi,
In our JVM-based project, we are using the J2V8 library. Here are the Maven dependencies we are using:
But since Apple build its new MacBooks on the M1 chips, we faced the problem in developing the application.
Are there any plans to provide builds for this architecture, or is it possible to build the library on such a machine? We can do build for our own, but we need help with how to do this.
Thanks.