Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: java not available #167

Open
dandanWang2019 opened this issue Mar 21, 2023 · 5 comments
Open

error: java not available #167

dandanWang2019 opened this issue Mar 21, 2023 · 5 comments

Comments

@dandanWang2019
Copy link

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

@OririPla
Copy link

Hello,

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

Oriane

@dudcha
Copy link
Collaborator

dudcha commented May 22, 2023

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
Copy link

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
Copy link
Collaborator

dudcha commented May 22, 2023 via email

@OririPla
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants