GiantSpaceRobot / tsRNAsearch

Nextflow DSL2 tRNA and ncRNA fragment identification pipeline for small RNA-seq data
MIT License
7 stars 3 forks source link

CAPSULE EXCEPTION: java.io.IOException: Cannot run program "/usr/bin/java/bin/java": error=20, Not a directory (for stack trace, run with -Dcapsule.log=verbose) #4

Open GiantSpaceRobot opened 3 years ago

GiantSpaceRobot commented 3 years ago

If you see the error here:

CAPSULE EXCEPTION: java.io.IOException: Cannot run program "/usr/bin/java/bin/java": error=20, Not a directory (for stack trace, run with -Dcapsule.log=verbose)
Unable to initialize nextflow environment

Please unset your JAVA_HOME: unset JAVA_HOME

vicho33 commented 2 years ago

HI!

I did and give this error:

CAPSULE EXCEPTION: Could not parse version: 18.0.1.1 while processing attribute Min-Java-Version: 1.8.0 (for stack trace, run with -Dcapsule.log=verbose) USAGE: java -jar .nextflow/framework/22.10.3/nextflow-22.10.3-one.jar

Actions: capsule.version - Prints the capsule and application versions. capsule.modes - Prints all available capsule modes. capsule.jvms - Prints a list of all JVM installations found. capsule.help - Prints this help message. capsule.tree - Prints the capsule's dependency tree. capsule.resolve - Downloads all un-cached dependencies.

Options: capsule.mode= - Picks the capsule mode to run. capsule.reset - Resets the capsule cache before launching. The capsule to be re-extracted (if applicable), and other possibly cached files will be recreated. capsule.log= (default: quiet) - Picks a log level. Must be one of none, quiet, verbose, or debug. capsule.java.home= - Sets the location of the Java home (JVM installation directory) to use; If 'current' forces the use of the JVM that launched the capsule. capsule.java.cmd= - Sets the path to the Java executable to use. capsule.jvm.args= - Sets additional JVM arguments to use when running the application. capsule.local= - Sets the path of the local Maven repository to use.

Do you have any recommendations?