XiaomiADBFastbootTools icon indicating copy to clipboard operation
XiaomiADBFastbootTools copied to clipboard

Font error (or wrong language?) on macOS

Open HHPio opened this issue 3 years ago • 7 comments

Hi,

I'm having this weird font issue on my M1 Mac:

Bildschirmfoto 2021-06-17 um 13 01 27

I did install several JDK/JRE versions but the problem still exists.

Thanks

HHPio avatar Jun 17 '21 11:06 HHPio

Same issue

Alejandro-FA avatar Jun 21 '21 10:06 Alejandro-FA

same

artstylee avatar Jun 22 '21 13:06 artstylee

same

LabN36 avatar Jun 30 '21 21:06 LabN36

Same. @Szaki any comments on this?

Anyone else able run it properly on M1 MAC?

I wasn't able to find a fix for this.

mangatinanda avatar Jul 09 '21 08:07 mangatinanda

@mangatinanda I hope this error log can help you Screen Shot 2021-07-27 at 16 10 36 Maybe this is the solution.

taufikmrf avatar Jul 27 '21 09:07 taufikmrf

Fix:

brew install adaptopenjdk

Niek avatar Sep 10 '21 12:09 Niek

Short Term Solution

# Install the Eclipse Temurin Java Development Kit. It used to be known as "adaptopenjdk"
# You can also obtain it from https://adoptium.net
brew install temurin # This is a cask that will ask you for your password

# We're gonna set an alias to maintain our sanity
# Place this in ~/.bash_profile or ~/.zshrc if you're gonna be using this often
alias ojava="/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java"

# Run it once to try it out, you could stop here and be done with it but if you're a repeating user, see below
ojava -jar XiaomiADBFastbootTools.jar 

# Create batch script to make life easier
echo "/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java -jar XiaomiADBFastbootTools.jar&" | tee XiaomiADBFastbootTools.sh
chmod +x XiaomiADBFastbootTools.sh

# From now on...
./XiaomiADBFastbootTools.sh

XiaomiADBFastbootTools

Long Term Solution

Fix the underlying problem but I know nothing about Java :(

kwvg avatar Oct 17 '21 10:10 kwvg