'can't exec " java " no such file or directory at ./fastqc line 307

When I want to install fastqc file in Ubuntu, I face this error: can't exec " java " no such file or directory at ./fastqc line 307 I tried to install Java with this command " sudo apt install java-common" but it doesn't work I would be happy if you help me with this problem.

Thank you



Solution 1:[1]

You need to install JRE or JDK. Check this page.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1