Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to run MinimServer on Mac Mini M1 w/ Azul JVM
09-04-2021, 03:38
Post: #1
Unable to run MinimServer on Mac Mini M1 w/ Azul JVM
I have a very old Mac Mini that I have been running MinimServer on that I am replacing with a new M1 model. In the process of setting it up I installed MinimServer and tried to launch it. I got a dialog about needed to install a version of Java greater than 8.

Since this box is pristine I looked around and it looked like the only native M1 JVM was from Azul so I downloaded that and installed it. I have validated that I can use that javac compiler and java command to run a simple command. However, when I try to double click MinimServer.app I got an error dialog saying:

LibjliOpenError

If I look in my $HOME/Library/MinimServer directory, minim-server.log has this in it:

cat ~/Library/MinimServer/minimserver-out.log
2021-04-08 21:13:51.632 MinimJavaLauncher[14784:1799906] libjliFile: /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/lib/jli/libjli.dylib
2021-04-08 21:13:51.632 MinimJavaLauncher[14784:1799906] libjliOpenError: dlopen(/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/lib/jli/libjli.dylib, 1): no suitable image found. Did find:
/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/lib/jli/libjli.dylib: mach-o, but wrong architecture
/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/lib/jli/libjli.dylib: stat() failed with errno=9

That kind of makes me wonder whether when the MinimServer launcher that is starting it is declaring the architecture of the lib ... or that because an x86 binary is trying to load the JVM it won't let it because the target architecture doesn't match.

Any ideas here? Is there a way to just launch the MinimServer app from the command line as a pure Java thing?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Unable to run MinimServer on Mac Mini M1 w/ Azul JVM - mossygreen - 09-04-2021 03:38

Forum Jump:


User(s) browsing this thread: 1 Guest(s)