Error in running Mauve alignner in Ubuntu 20.04
0
0
Entering edit mode
26 days ago

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 • 470 views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

Mauve also may require Java 7/8.

ADD REPLY
0
Entering edit mode

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)
ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 2827 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6