Closed ilu2k21 closed 1 year ago
Are you running it from within the top-level directory where it's extracted? java -jar ESPSFlashTool.jar
Also, what does which python
say?
Yes, started it from within the extracted directory. which python says: /opt/homebrew/bin/python
First, use the version found at the link below until the next beta is released. Next, it looks like you have an incomplete version of Java installed. Make sure you have the latest Java on your machine. Also, your error looks similar to the issue described in this discussion: https://stackoverflow.com/questions/71237976/unsatisfiedlinkerror-when-running-typedb-on-an-m1-macbook
dist.zip
dist.zip
|
|
|
On Wednesday, September 28, 2022 at 06:32:13 AM EDT, ilu2k21 ***@***.***> wrote:
Hi, the flash tool wont work here on my 2020 Mac MIni, starting from terminal i get following error:
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/c6/1g5699210910vkzfsjnpccm40000gn/T/1664360507374-libjSerialComm.jnilib
Any hints?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
I'm using a 2020 M1 MacBook Pro and it works successfully for me.
java -version java version "1.8.0_351" Java(TM) SE Runtime Environment (build 1.8.0_351-b10) Java HotSpot(TM) 64-Bit Server VM (build 25.351-b10, mixed mode)
java -jar ESPSFlashTool.jar OS: mac os x / x86_64 Detected Mac
I've tested this on the latest MacOS release recently as well. It needs to be ran from the command line where it's extracted - "java -jar ESPSFlashToo.jar". The first time running, you'll receive the typical MacOS security notifications requiring you to go into your security settings and allow mklittlefs to run.
I am seeing the same issue:
% uname -a Darwin Stephens-Mini.localdomain 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:04:44 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T8103 arm64
% java -version openjdk version "17.0.1" 2021-10-19 LTS OpenJDK Runtime Environment Zulu17.30+15-CA (build 17.0.1+12-LTS) OpenJDK 64-Bit Server VM Zulu17.30+15-CA (build 17.0.1+12-LTS, mixed mode, sharing)
% java -jar ESPSFlashTool.jar
OS: mac os x / aarch64
Detected Mac
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: /private/var/folders/c5/4jbz7nn91zbdkjb9sc2by5_w0000gn/T/1675517958973-libjSerialComm.jnilib: dlopen(/private/var/folders/c5/4jbz7nn91zbdkjb9sc2by5_w0000gn/T/1675517958973-libjSerialComm.jnilib, 0x0001): tried: '/private/var/folders/c5/4jbz7nn91zbdkjb9sc2by5_w0000gn/T/1675517958973-libjSerialComm.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/private/var/folders/c5/4jbz7nn91zbdkjb9sc2by5_w0000gn/T/1675517958973-libjSerialComm.jnilib' (no such file), '/private/var/folders/c5/4jbz7nn91zbdkjb9sc2by5_w0000gn/T/1675517958973-libjSerialComm.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:384)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:228)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:170)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2389)
at java.base/java.lang.Runtime.load0(Runtime.java:755)
at java.base/java.lang.System.load(System.java:1953)
at com.fazecast.jSerialComm.SerialPort.
Hi, the flash tool wont work here on my 2020 Mac MIni, starting from terminal i get following error:
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/c6/1g5699210910vkzfsjnpccm40000gn/T/1664360507374-libjSerialComm.jnilib
Any hints?