I'm new in bioinformatics and I'm trying to run a pipeline that uses the program FastQC v0.11.3. I downloaded the program locally on a linux server (no sudo permissions). As far as I know, FastQC is a java written program and needs Java versions 1.6 or higher.
When I check my Java version java -version
, it returns: openjdk version "11.0.6" 2020-01-14 LTS
But when I try to run fastqc, either in my pipeline or alone, it returns this error:
Error: Could not find or load main class uk.ac.babraham.FastQC.FastQCApplication
Caused by: java.lang.ClassNotFoundException: uk.ac.babraham.FastQC.FastQCApplication
Do you know how can I solve this? Maybe the Java version is not compatible with fastqc? Any idea is helpful, Thanks.
You probably have downloaded the source code instead of the binary. As is described in this thread
https://github.com/s-andrews/FastQC/issues/19
Binary can be downloaded from
http://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v0.11.8.zip