-
Notifications
You must be signed in to change notification settings - Fork 642
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
nextflow
installation script yields "Could not parse version" error, OpenJDK 11.0.14.1 from MacPorts
#3430
Comments
Same problem here. |
My settings in MacOS:
|
Same problem on my macOS today when trying to update nextflow
From what I gather it is a known issue whis all the version of java that return more that 3 sections ( i.e. "1.2.3.*" ) Best |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@mhebrard I'll try to have a look when I have access to my Mac again. Patching a regular expression somewhere to check for |
Solved via #2951 |
Thanks for your efforts, @pditommaso! |
@ernstki you are welcome! |
Bug report
Hi everyone, hope you're well. I ran into a problem similar to what's described in #953 (for OpenJDK 10 in that case). As before, the
nextflow
installation script—or, I assume, some Java bit that's called from the installation script—yields the errorin spite of my installed
java
meeting the requirements stated in the "Getting started" section of the Nextflow home page.Expected behavior and actual behavior
Expected:
nextflow
installation script would work with an installedjava
, version 11.x, from MacPorts'openjdk11
package.Actual: running the installation script yields an error about being unable to parse the (Java) version.
Steps to reproduce the problem
nextflow
script from the releases pageProgram output
Environment
Additional context
Running
bash nextflow -Dcapsule.log=verbose
does not yield any more useful information, as far as I can tell, but I will include its output if you deem it necessary.Initially, I had a problem with the installation script due to an old
JAVA_HOME
defined in my login scripts, pointing to a JRE that was no longer available (1.8.something). I quickly resolved this, though, started a fresh shell, and did anrm -rf ~/.nextflow
to be sure that no evidence remained of previous attempts. I currently do not have anyJAVA_HOME
defined in my shell environment, verified withecho $JAVA_HOME
.Oddly, I was unable to reproduce this in a CentOS 7 Docker container having
java-11-openjdk-11.0.17.0.8-2.el7_9.x86_64
installed from the official repositories. (It was necessary to installwhich
in the container in order for thenextflow
script to work properly, which is perhaps a separate bug report.)Thanks for taking a look.
The text was updated successfully, but these errors were encountered: