error: java not available
dandanWang2019 opened this issue · 5 comments
dandanWang2019 commented
OririPla commented
Hello,
I have exactly the same error, did you manage to fix it ?
Oriane
dudcha commented
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
OririPla commented
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
dudcha commented
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: ***@***.***>
OririPla commented
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