Nesvilab / FragPipe

A cross-platform proteomics data analysis suite
http://fragpipe.nesvilab.org
Other
200 stars 38 forks source link

JAVA_HOME is set to an invalid directory #1850

Open mdjones opened 23 hours ago

mdjones commented 23 hours ago

docker pull fcyucn/fragpipe sudo docker run -it -v /tmp/fragpipe:/fragpipe fcyucn/fragpipe /bin/bash

$ cd /fragpipe_bin/fragPipe-22.0/fragpipe/bin/ $ ./fragpipe --help

ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/java-17-openjdk-amd64/

Please set the JAVA_HOME variable in your environment to match the location of your Java installation.

$ env | grep JAVA_HOME JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/ $ ls /usr/lib/jvm/java-17-openjdk-amd64/ bin conf docs include jmods legal lib man release

- Describe the issue or question:

fragpipe complains that JAVA_HOME is set to an invalid directory

fcyu commented 22 hours ago

Could you change the JAVA_HOME to the real one in your computer using the command such as ENV JAVA_HOME <path>?

If you are not familiar with the command line interface or Linux, I suggest you use the FragPipe in GUI mode.

Best,

Fengchao