3d-dna icon indicating copy to clipboard operation
3d-dna copied to clipboard

error: java not available

Open dandanWang2019 opened this issue 2 years ago • 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

dandanWang2019 avatar Mar 21 '23 07:03 dandanWang2019

Hello,

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

Oriane

OririPla avatar May 22 '23 15:05 OririPla

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

dudcha avatar May 22 '23 15:05 dudcha

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

OririPla avatar May 22 '23 15:05 OririPla

No. Type the command in the terminal or submit the line as a separate job to understand why it is not running.

On May 22, 2023, at 10:52 AM, OririPla @.***> wrote:

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 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

dudcha avatar May 22 '23 15:05 dudcha

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

OririPla avatar May 26 '23 11:05 OririPla