Comments (5)
I have no idea. Can you try to run the jar file from this website?https://intofuture.org/energy2d.html
from multiphysics.
Hi Charlie. I'm using the file from that site.
Here's some more info about what is happening in Fedora 38 with OpenJDK 17
It seems it can't fnd/access /usr/lib/jvm/java-17-openjdk-17.0.8.0.7-1.fc38.x86_64/lib/libawt_xawt.so
[... ~]$ java -jar energy2d.jar Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-17-openjdk-17.0.8.0.7-1.fc38.x86_64/lib/libawt_xawt.so at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2398) at java.base/java.lang.Runtime.load0(Runtime.java:755) at java.base/java.lang.System.load(System.java:1953) at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174) at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:315) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:285) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2403) at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818) at java.base/java.lang.System.loadLibrary(System.java:1989) at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1392) at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1390) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1389) at java.desktop/java.awt.Toolkit.initStatic(Toolkit.java:1427) at java.desktop/java.awt.Toolkit.<clinit>(Toolkit.java:1401) at java.desktop/java.awt.Component.<clinit>(Component.java:624) [... ~]$
Is there any useful information there?
from multiphysics.
Could something here be the problem?
https://www.tutorialspoint.com/how-to-handle-java-lang-unsatisfiedlinkerror-in-java
"UnsatisfiedLinkError is caused by a number of factors, such as missing native libraries or library paths configured incorrectly, outdated library versions or dependencies that the native code requires."
from multiphysics.
I currently do not have a Linux machine for testing. I am still hoping that we will eventually convert this to a Web app instead of Java, which is old.
from multiphysics.
If you want to make energy2d windows/linux cross platform you could run an Ubuntu USB persistent live environment as described here https://itsfoss.com/ubuntu-persistent-live-usb/
"Linux on a stick"
from multiphysics.
Related Issues (10)
- Change computational grid HOT 3
- How to use the actual "time" in tasks? HOT 1
- FATAL ERROR after running a simulation for several seconds HOT 1
- Photons shot vs grid size
- Questions / Feedback HOT 3
- material properties database HOT 2
- Version number for packaging? HOT 1
- The license mentioned on the website is MIT but here it's LGPL3 HOT 3
- Java log4j vulnerability? HOT 1
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 multiphysics.