# Java error after new install

**URL:** <https://forum.biobakery.org/t/java-error-after-new-install/6852>\
**Category:** KneadData\
**Created:** [March 26, 2024, 7:25pm UTC](https://forum.biobakery.org/t/java-error-after-new-install/6852 "2024-03-26T19:25:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![drelo](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/drelo/32/566_2.png) [@drelo](https://forum.biobakery.org/u/drelo)\
**Post date:** [March 26, 2024, 7:25pm UTC](https://forum.biobakery.org/t/java-error-after-new-install/6852/1 "2024-03-26T19:25:34Z")

</div>

Hi all,

I am using ` kneaddata v0.12.0`, I recently created a new environment and installed it via mamba/conda.

I just downloaded the database and I get the same error either with the input.zip data or using the custom database.

I wonder if this is due to the conda recipe or I did something wrong during the install

```auto
kneaddata --unpaired input/singleEnd.fastq --reference-db input/demo_db --output kneaddataOutputSingleEnd            
Reformatting file sequence identifiers ...

Initial number of reads ( /home/andrespara/andres/kneaddataOutputSingleEnd/reformatted_identifiers7pmlbel9_singleEnd ): 16902.0
Running Trimmomatic ... 
CRITICAL ERROR: Error executing: java -Xmx500m -jar /home/andrespara/mambaforge/envs/kneadd/bin/trimmomatic-0.33.jar 
SE -threads 1 -phred33 /home/andrespara/andres/kneaddataOutputSingleEnd/reformatted_identifiers7pmlbel9_singleEnd 
/home/andrespara/andres/kneaddataOutputSingleEnd/singleEnd_kneaddata.trimmed.fastq MINLEN:60 
ILLUMINACLIP:/home/andrespara/mambaforge/envs/kneadd/lib/python3.10/site-packages/kneaddata/adapters/NexteraPE-PE.fa:2:30:10 
SLIDINGWINDOW:4:20 MINLEN:50

Error message returned from Trimmomatic :
java: symbol lookup error: java: undefined symbol: JLI_StringDup

```

This environment is using [https://conda.anaconda.org/bioconda/linux-64/java-jdk-8.0.92-1.tar.bz2](https://conda.anaconda.org/bioconda/linux-64/java-jdk-8.0.92-1.tar.bz2)

More details of the environment in the .txt attached

Thanks for your help!

**Edited to add:** since I managed to install in another machine I tried to install in this machine with a fixed version of java, but this didn’t work

`mamba create -n kneadd -c bioconda java-jdk=7.0.91 -c biobakery kneaddata`

Cheers,

A

[kneadd.txt](https://forum.biobakery.org/uploads/short-url/rhbGJS3hn8An6AIbNyRuKwG0HT7.txt) (7.8 KB)

---

<div class="post-metadata">

**Author:** ![6799](https://avatars.discourse-cdn.com/v4/letter/6/48db29/32.png) [@6799](https://forum.biobakery.org/u/6799)\
**Post date:** [December 6, 2024, 6:56am UTC](https://forum.biobakery.org/t/java-error-after-new-install/6852/2 "2024-12-06T06:56:22Z")

</div>

Hello. We have encountered the same problem. We don’t know if your problem has been solved. Could you please help us solve this problem?
