This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error in running Mauve alignner in Ubuntu 20.04

I have downloaded Mauve for Linux but when I try to launch it following the instructions ("Simply run ./Mauve") I get error:

   $ ./Mauve.jar 
    ./Mauve.jar: line 1: $'PK\003\004': command not found
    ./Mauve.jar: line 2: $'\b\0210MF': command not found
    ./Mauve.jar: line 46: syntax error near unexpected token `)'
    ./Mauve.jar: line 46:<...GIBBERISH...>
    $ java -jar Mauve.jar 
    Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: "."
        at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.base/java.lang.Integer.parseInt(Integer.java:638)
        at java.base/java.lang.Integer.parseInt(Integer.java:770)
        at org.gel.mauve.gui.Mauve.hasRequiredJVM(Unknown Source)
        at org.gel.mauve.gui.Mauve.init(Unknown Source)
        at org.gel.mauve.gui.Mauve$2.run(Unknown Source)
        at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
        at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

How can I run Mauve (GUI) on Linux? I can use progressiveMauve on the terminal. How can I even open a java executable?

Thank you

java linux aligner mauve

Try java -jar Mauve.jar instead of ./Mauve.jar.

Mauve also may require Java 7/8.

I tried java -jar Mauve.jar but same error. My Java is:

openjdk version "17.0.9" 2023-10-17
OpenJDK Runtime Environment (Red_Hat-17.0.9.0.9-4) (build 17.0.9+9)
OpenJDK 64-Bit Server VM (Red_Hat-17.0.9.0.9-4) (build 17.0.9+9, mixed mode, sharing)

You likely need a much older version of Java. 7 or 8.

Also, since Mauve is no longer maintained, what is a contemporary alternative? Tx

I see, so Mauve GUI is a legacy software that needs an old version of Java no longer maintained. Tx

0 answers

No answers yet.

Log in to answer this question.