Fix _JAVA_OPTIONS breaking launch exactly like issue #1716
Just like in #1716, the _JAVA_OPTIONS variable results in messages like:
Picked up _JAVA_OPTIONS: -Djava.io.tmpdir=/tmp -Xmx221184m -Xms256m
CAPSULE EXCEPTION: Could not parse version line: Picked up _JAVA_OPTIONS: -Djava.io.tmpdir=/scratch/03166/xcgalaxy/main/staging/59941234/tmp -Xmx221184m -Xms256m (for stack trace, run with -Dcapsule.log=verbose)
These messages interfere with the Capsule loader Java version detection.
From the OpenJDK source: https://github.com/openjdk/jdk/blob/ab8071d28027ecbf5e8984c30b35fa1c2d934de7/src/java.base/share/classes/jdk/internal/misc/VM.java#L459
Deploy Preview for nextflow-docs-staging canceled.
| Name | Link |
|---|---|
| Latest commit | 648a72c062980a01d49bf0c13556819705752b5f |
| Latest deploy log | https://app.netlify.com/sites/nextflow-docs-staging/deploys/66c65e6dc3c13c000879f397 |
@pditommaso When you get a chance, could you have someone review/merge this PR? Thanks!
As of version 24.07.x, Nextflow does not use Capsule anymore, therefore this is not needed.
As of version 24.07.x, Nextflow does not use Capsule anymore, therefore this is not needed.
Any word on when 24.07.x will get a stable release? I can patch by hand until then.
Next stable release will be 24.10.x as such is planned by this October.
Closing as not planned