Comments (3)
I don't have access to a machine with Apple silicon, but ChatGPT gave the following response based on your error messages (4th option might be the most helpful):
"The error you're seeing is an UnsatisfiedLinkError
, which indicates that the Java Virtual Machine (JVM) can't find a native library it needs to run your Java application. Specifically, it's trying to load a dynamic link library (.dylib) which is not present or not compatible.
Considering the details provided and the fact that this is happening on Apple silicon (presumably the M1 chip or its successors), here are a few general steps and considerations to resolve the issue:
-
Native Library Compatibility: Ensure that the native library (
libgluegen_rt.dylib
in this case) is compatible with Apple silicon. Many native libraries were initially built for Intel-based Macs, and they might not work out-of-the-box on Apple's new ARM-based architecture. -
Java Version: Ensure you're using a version of Java that's compatible with Apple silicon. The provided information shows you're using Java 17, which should have support. However, make sure you downloaded the ARM64 version and not the x86_64 version. You might consider using a distribution like AdoptOpenJDK or Zulu which provides explicit ARM64 builds.
-
JAVA_LIBRARY_PATH: You might need to set the
JAVA_LIBRARY_PATH
environment variable to point to the directory containing the.dylib
files your application needs.export JAVA_LIBRARY_PATH=/path/to/your/dylib/directory
After setting this, try rerunning your Java application.
-
Use Rosetta: As a temporary solution, you can use Apple's Rosetta 2 to run your application under x86_64 emulation. This might have performance penalties, but it can be a helpful stopgap solution until native libraries are updated. You can start a terminal under Rosetta by opening Terminal, navigating to Applications > Utilities, duplicating the Terminal app, and then right-clicking on the duplicate and selecting "Get Info" and then "Open using Rosetta". Then, run your Java application from that terminal instance.
-
Recompile Native Libraries: If you have access to the source code of the native libraries, you might need to recompile them for Apple silicon."
from dynamovis.
Hey @cachatj, I'm running DynamoVis on Apple silicon and it's working fine for me with the same command. Were you able to resolve or are you still facing this?
from dynamovis.
from dynamovis.
Related Issues (12)
- Basemap loading HOT 1
- Legend saving/loading HOT 2
- Tiles partially disappear HOT 1
- Max opacity for "Underlay" feature is still translucent HOT 1
- Error with timestamps HOT 1
- visual analytics HOT 1
- app won't open mac HOT 2
- Input file issue HOT 4
- java.lang.NullPointerException: Cannot invoke "java.io.Writer.append(java.lang.CharSequence)" because "output" is null" HOT 1
- Animation Not Loading HOT 1
- No Screen loading after "create animation" on M1 Macbook
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dynamovis.