On 2023-03-22 11:50, Stakanov via openSUSE Users wrote:
In data mercoledì 22 marzo 2023 11:45:46 CET, Andrei Borzenkov ha scritto:
On Wed, Mar 22, 2023 at 1:41 PM Stakanov via openSUSE Users
<users@lists.opensuse.org> wrote:
Host is Tumbleweed. Java is: entropy@localhost:~> java --version openjdk 11.0.18 2023-01-17 OpenJDK Runtime Environment (build 11.0.18+0-suse-3.1-x8664) OpenJDK 64-Bit Server VM (build 11.0.18+0-suse-3.1-x8664, mixed mode) entropy@localhost:~>
Now when trying to simply click on it, it gives a window with the uncompressed jar file (which is not what I want, and yes, I have made it executable after downloading.
When telling TW to run the jar file with java (e.g. in a terminal to get output of what goes wrong here), it complains as follows:
Errore: impossibile trovare o caricare la classe principale .home.entropy.bin.XiaomiADBFastbootTools.jar Causato da: java.lang.ClassNotFoundException: /home/entropy/bin/ XiaomiADBFastbootTools/jar
what do I do wrongly,
As you did not show how you were "telling TW to run jar file" it is difficult to guess. Showing complete command with full output may give some hint. Output in English would be more useful.
what is my problem here. Anybody having experience with
starting this program is highly welcome to comment.
Thank you in advance.
Well, I tried from terminal with "run" but that does not work. I tried with java filenamegoeshere.jar that does gives following error message (not useful I find).
ntropy@localhost:~> LC=All /home/entropy/bin/XiaomiADBFastbootTools.jar /home/entropy/bin/XiaomiADBFastbootTools.jar: riga 1: $'PK\003\004': comando non trovato
LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 java -jar \ /home/entropy/bin/XiaomiADBFastbootTools.jar Also, please do this, as root: edit text file with your favourite editor: /usr/local/bin/inglese LANG=en_US.UTF-8 \ LC_ALL=en_US.UTF-8 \ DICTIONARY=english \ KDE_LANG=en_US.UTF-8 \ LANGUAGE=en_US.UTF-8:en \ exec "$@" Save it. chmod a+x /usr/local/bin/inglese So next time, before posting here any command, just run: inglese java -jar /home/entropy/bin/XiaomiADBFastbootTools.jar -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)