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

Dear MEGAN users,
I installed MEGAN 6.18.3 three months ago and it had been working very well.
But nowadays, I encountered errors showing:
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 tried to install the newest java version (jdk1.8.0_241) and INSTALL4J_JAVA_HOME="/home/te73huq/software/jdk1.8.0_241/".
But it didn’t work.
Does anyone have the clue how to fix it?
Thank you very much.
Best,
Qianqian

I tried to install the newest java version (jdk1.8.0_241) and INSTALL4J_JAVA_HOME=“/home/te73huq/software/jdk1.8.0_241/”.

That is Java 8, which is not the newest java version. The latest Java version is 13. MEGAN currently requires at least Java 11. Please install OpenJDK 11 or higher.