Ich wollte fragen wie ich ein Programm in den Path eintragen kan. Kenne mich da nicht aus. ich wollte das Mi Unlock Tool von Xiaomi über Ubuntu starten:
aber da gibt es ein Problem:
Das Program ist hier zu finden:
https://mega.nz/file/wwBhyDRS#okgb2DGcRO5wQw4Sdjm4lPjwQRf0BqvK90rO1eTim3I https://xiaomitool.com/MiUnlockTool
Und hier der Link von Xiaomi dort hin:
bird@bird-desktop:~/Downloads/Mi/MiUnlockTool$ sudo bash MiUnlockTool.sh [sudo] Passwort für bird: Das hat nicht funktioniert, bitte nochmal probieren. [sudo] Passwort für bird: ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation. bird@bird-desktop:~/Downloads/Mi/MiUnlockTool$
Eigentlich gibt es hier die offizielle Version: Mi UnlockToll.py https://github.com/offici5l/MiUnlockTool
Allerdings, wenn ich die Datei ausführbar machen möchte bekomme ich die Fehlermeldung wie im Bildanhang.