Native M1 JRE for Mac?

Hello @mercus,

Both failed, but luckily I have solved it! The issue is because the JavaApplicationStub is built for x86_64, and Rosetta 2 won’t let it load an ARM JVM.

Instead, until an official ARM version of Visual Paradigm is available, here are the steps someone can take:

  1. cd /Applications/Visual\ Paradigm.app/Contents/Resources
  2. Switch to the Zulu JVM:
    1. mv jre.bundle jre.bundle.old
    2. ln -s /Library/Java/JavaVirtualMachines/zulu-11.jdk jre.bundle
  3. Update lib05.jar:
    1. Download an updated lib05.jar from Visual Paradigm (I hope it’s ok to share this link, @Rain: ownCloud)
    2. cd app/lib
    3. mv lib05.jar lib05.jar.old
    4. cp ~/Downloads/lib05.jar .
  4. Update JavaApplicationStub
    1. Download the latest install4j from Multi-Platform Java Installer Builder - install4j
    2. cd /Applications/Visual Paradigm.app/Contents/MacOS
    3. mv JavaApplicationStub JavaApplicationStub.old
    4. cp /Volumes/install4j/install4j.app/Contents/Resources/app/resource/macos/JavaApplicationStub.arm64 /Applications/Visual\ Paradigm.app/Contents/MacOS/JavaApplicationStub
    5. chmod +x JavaApplicationStub
1 Like