jcryptool / core

JCrypTool Core Plug-ins
https://www.cryptool.org
Eclipse Public License 1.0
163 stars 43 forks source link

Linux Mint: JCryptool doesn't start after download #254

Open lautebach opened 2 years ago

lautebach commented 2 years ago

On my Linux Mint, the JCryptool download takes some persuasion getting unzip'ed, and after that it will not start:

user@machine:~/Downloads$ ls J*
JCrypTool-1.0.8-Linux-64bit.zip
user@machine:~/Downloads$ unzip JCrypTool-1.0.8-Linux-64bit.zip 
Archive:  JCrypTool-1.0.8-Linux-64bit.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of JCrypTool-1.0.8-Linux-64bit.zip or
        JCrypTool-1.0.8-Linux-64bit.zip.zip, and cannot find JCrypTool-1.0.8-Linux-64bit.zip.ZIP, period.

The unzip error message is strange, but unzip'ing does work with other tools.

After unzip'ing and chmod'ing, I try to launch the extracted file:

user@machine:~/Downloads$ chmod +x JCrypTool-1.0.8-Linux-64bit
user@machine:~/Downloads$ ./JCrypTool-1.0.8-Linux-64bit 
bash: ./JCrypTool-1.0.8-Linux-64bit: Kann die Binärdatei nicht ausführen: Fehler im Format der Programmdatei

The bash complaint (in German) translates to "can't execute binary file: error in format of program file".

If it's any help: uname -a on my machine reports

5.4.0-100-generic #113-Ubuntu SMP Thu Feb 3 18:43:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
simlei commented 2 years ago

Hi,

thanks for the report. There is indeed a mixup with the files, seems like the one downloaded was by accident compressed badly. Linux archives are usually in .tar.gz format, but it's none of your doing — I'm sorry for the inconvenience! Please use insted the current weekly build: https://github.com/jcryptool/core/releases/tag/Weekly-Build--20220220