I have successfully worked around the bug. But it involves a few steps...
First I edited the included script `/usr/bin/jmodeltest` and commented out the 
offending line (that calls /usr/lib/java-wrappers.sh):

#. /usr/lib/java-wrappers/java-wrappers.sh

Then I modified the last line, from:

run_java -Xms128M -Xmx1G -jar /usr/share/jmodeltest/jModelTest.jar $*

to

java -Xms128M -Xmx1G -jar /usr/share/jmodeltest/jModelTest.jar $*

This is sufficient to start jmodeltest, but not to make it work, since the 
program cannot find the binary for `phyml`, which it requires (and should be a 
dependency). The workaround for this issue was to install phyml which is 
present in the program's repositories.
jmodeltest will nonetheless complain that the available version of phyml is not 
in the official compatibility list, but everything runs smoothly anyway.
I would make these changes to the package myself and submit them, but I'm not 
sure how, since the "code" tab for this package appears to be empty.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1967774

Title:
  jmodeltest fails to start with the error: /usr/bin/jmodeltest:9 :
  Can't open /usr/lib/java-wrappers.sh

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jmodeltest/+bug/1967774/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to