How to launch MAUVE on Ubuntu 22?
2
0
Entering edit mode
10 months ago

Hello

I wuld like to use MAUVE ALIGNER on Ubuntu 22. I downloaded the java executable and launch it with java -jar ~/Mauve.jar but I get:

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)

I tried to install it with sudo apt-get -y install mauve-aligner; it installs but when I click on the icon in the application list, it does not launch.

I am using:

$ java -version
openjdk version "11.0.21" 2023-10-17
OpenJDK Runtime Environment (build 11.0.21+9-post-Ubuntu-0ubuntu122.04)
OpenJDK 64-Bit Server VM (build 11.0.21+9-post-Ubuntu-0ubuntu122.04, mixed mode, sharing)

How can I launch mauve? Mauve needs "Oracle Java runtime environment". Is there a way to launch mauve from java telling it to use the right Java version but without messing with the java settings I have.

Thank you

mauve ubuntu aligner • 657 views
ADD COMMENT
0
Entering edit mode
10 months ago

It works but there is a problem with the JVM version.

this software tries to parse the java version:

at org.gel.mauve.gui.Mauve.hasRequiredJVM(Unknown Source)

but there is something unusual in the JVM version. Same as : https://github.com/koadman/mauve/issues/3

ADD COMMENT
0
Entering edit mode
10 months ago

Mauve requires Java 8. You will need to install Java 8. Mauve comes with a script for setting the location of Java 8 and running Mauve. You will need to modify the line for JAVA8_CMD to correspond to the location of java 8 on your system.

ADD COMMENT

Login before adding your answer.

Traffic: 2217 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