Public bug reported: I'm using Ubuntu 20.04.2 LTS. I've installed bbmap (version 38.79+dfsg-1) through "sudo apt-get install bbmap". However, when running "bbduk.sh --version" or a script "bbduk.sh -Xmx..." (I've tried with -Xmx5g, -Xmx4g, -Xmx1g, -Xmx800m, -Xmx100m and without setting -Xmx on a 8 gb RAM machine) I get the following error:
/usr/bin/bbduk.sh: línea 344: /usr/share/bbmap/calcmem: No existe el archivo o el directorio /usr/bin/bbduk.sh: línea 345: setEnvironment: orden no encontrada /usr/bin/bbduk.sh: línea 346: parseXmx: orden no encontrada /usr/bin/bbduk.sh: línea 350: freeRam: orden no encontrada java -Xmxm -Xmsm -cp /usr/share/java/bbmap.jar jgi.BBDuk --version Invalid maximum heap size: -Xmxm Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Downloading the package, untaring it and adding the path to the directory in the .bashrc file prompts the same error when running the above described commands. Also, the folder /calcmem does indeed do not exist. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: bbmap 38.79+dfsg-1 ProcVersionSignature: Ubuntu 5.8.0-50.56~20.04.1-generic 5.8.18 Uname: Linux 5.8.0-50-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.17 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Thu May 13 21:41:24 2021 InstallationDate: Installed on 2020-12-05 (160 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) PackageArchitecture: all ProcEnviron: LANGUAGE=es_AR:es PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=es_AR.UTF-8 SHELL=/bin/bash SourcePackage: bbmap UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: bbmap (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928401 Title: bbduk error assigning memory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bbmap/+bug/1928401/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs