Error when install MEGAN_Community_unix_6_13_1.sh (gzip: sfx_archive.tar.gz: not in gzip format)

Dear
I got a problem when I install MEGAN_Community_unix_6_13_1.sh
What I have done is as follows:
1)
chmod u+x MEGAN_Community_unix_6_13_1.sh
./MEGAN_Community_unix_6_8_14.sh -c

error:
No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be 1.8.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.

then I download jdk1.8.0_191,and add it in the environmental variables
vim MEGAN_Community_unix_6_13_1.sh
INSTALL4J_JAVA_HOME_OVERRIDE="/zfssz5/BC_PS/**/bin/java/jdk1.8.0_191/bin/java"
./MEGAN_Community_unix_6_8_14.sh -c

error:
gzip: sfx_archive.tar.gz: not in gzip format
I am sorry, but the installer file seems to be corrupted. If you downloaded that file please try it again. If you
transfer that file with ftp please make sure that you are using binary mode.

I think the sfx_archive.tar.gz file may be corrupted, could you give me some suggestions about how can I fix this?
I am looking forward to your reply and thank you in advance.

Best,
yinping

Hi,
you have to add a java bin to your PATH,
and then execute unchanged MEGAN installer .sh

regards,
Ania

hi Ania:
I add the java bin to my .bash_profile,but the same error as before “gzip: sfx_archive.tar.gz: not in gzip format”

Hi,
you need to download the installer again,
Ania

Hi Anita,

I tried to install MEGAN by this,
./MEGAN_Community_unix_6_15_2.sh
Starting Installer …
Gtk-Message: 16:08:27.290: Failed to load module “canberra-gtk-module”

And after I fixed this by:
sudo apt-get install libcanberra-gtk-module

Then, I run this:
./MEGAN

It showed me nothing, I wonder how I can get MEGAN started?

Thanks,
Coax

I suspect that the new release due in a couple of days (using Java 12) will fix this issue.

Hi Ania,
I have the same problem and Your answer did not work. I try to install:
MEGAN_Community_unix_6_17_0.sh
on Centos 7 x64
I try installation witch Java versions:

openjdk version “1.8.0_222”
OpenJDK Runtime Environment (build 1.8.0_222-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)

java version “1.8.0_221”
Java™ SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot™ 64-Bit Server VM (build 25.221-b11, mixed mode)

java version “1.8.0_212”
Java™ SE Runtime Environment (build 1.8.0_212-b10)
Java HotSpot™ 64-Bit Server VM (build 25.212-b10, mixed mode)

Each time I get error:
./MEGAN_Community_unix_6_17_0.sh
No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be at least 11.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.

I try to set INSTALL4J_JAVA_HOME or INSTALL4J_JAVA_HOME_OVERRIDE variable in my system pointing to JRE or JDK, but this is not helping me.

When I try edit MEGAN_Community_unix_6_17_0.sh script to set path to jdk or jre, shell tells me that file script is corupted, just like Yinping said before.

Please help me install MEGAN.

OK, when I use Oracle Java version 12+ - not JDK1.8.xxx, installation was successfully.
Cheers!