-
Notifications
You must be signed in to change notification settings - Fork 14
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
It's current state is: startFailed #52
Comments
The minimum Java version is now "Java 17 (or later, up to 23)" |
I also have this issue when trying to load the extension on a remote session: Stacktrace
|
Thanks @ameintjes A caveat of the extension is that it assumes Nextflow is installed in the user's base environment. Many users want to separate software into isolated environments. I've always installed Nextflow via conda, and so AFAIK the extension will not utilize java & nextflow installed in a conda env (I don't see anything in the settings). More generally, it would help if the README and the blog post on the extension updates pointed out that Java v17 or higher are required, especially given that some users have Nextflow installed via conda, so the extension just "won't work" in that situation. Lastly, it would be helpful if the error messages in the extension's Runtime Status window showed more helpful error messages (e.g., "Java v17-23 not found"). |
I've installed java and nextflow in my base (os-level) environment: openjdk 23.0.1 2024-10-15
OpenJDK Runtime Environment Homebrew (build 23.0.1)
OpenJDK 64-Bit Server VM Homebrew (build 23.0.1, mixed mode, sharing) nextflow -version
N E X T F L O W
version 24.10.0 build 5928
created 27-10-2024 18:36 UTC (11:36 PDT)
cite doi:10.1038/nbt.3820
http://nextflow.io ...and I'm still getting the same error: Re-installing the extension and/or reloading the VS Code window does not help. |
Try setting the "Nextflow > Java > Home" extension setting to an explicit Java path (should be the path containing the I'm beginning to suspect that Java installed via homebrew is not being auto-detected for some reason |
That's what fixed the issue for us yesterday! Thank you! |
@nvnieuwk are you using the homebrew install of Java? |
Our issue was mainly that we were running it on a remote SSH connection with our HPC. The default Java version there is Java 8 which was too low. I don't know in what way Java was installed on the HPC tho |
I haven't investigated the SSH setup too much but I'm glad you got it working. My understanding is that you would install the Nextflow extension through your local VS Code editor but install it to "SSH Remote" instead of "Local", is that right? |
Yes that's what we did. It was actually a browser code editor but that should work basically the same as a remote SSH |
None of the Nextflow extension features are working.
I'm getting the following Runtime Status:
Re-installing the extension does not help.
I'm using
v1.0.0
of the extension on a MacOSSonoma 14.7 (23H124)
The text was updated successfully, but these errors were encountered: