aidenlab/3d-dna

error: java not available

dandanWang2019 opened this issue · 5 comments

Hi hi,

I am running run-asm-pipeline.sh, and after 5 minutes, get error as below:
image

The software said java is not available, but I can use java directly on my linux system, so I do not know where should I add java path to. Do you have any idea about where is the problem?

Thanks a lot,
Dandan

Hello,

I have exactly the same error, did you manage to fix it ?

Oriane

Hello Oriane, Dandan,

The errors is caused by the following line:
type java >/dev/null 2>&1 || { echo >&2 ":( Java is not available, please install/add to path Java to run Juicer and Juicebox. Exiting!"; exit 1; }

You can try to run manually to try to debug.
Olga

Hello Olga,

Thank you for answering so fast. I am not sure I understand what we are supposed to do. Delete the lines in the file ? I am sorry I am quite new to this.

Oriane

Hello,

I managed to fix the error by specifying more clearly the java's paths in my bashrc (else in the cluster SLURM the job couldn't find java even if it existed).

Thank you for your time,

Oriane