Txan Chof
Txan Chof

Reputation: 3

How can I solve a Java Not-class-found Exception?

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.

Upvotes: 0

Views: 1018

Answers (1)

Daniel Jacob
Daniel Jacob

Reputation: 1546

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

Upvotes: 1

Related Questions