Installation troubleshooting

Starting AVAA

A JNI error has occurred

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError:
    org/avaatoolkit/Main has been compiled by a more recent version of the Java Runtime (class file version 55.0),
        this version of the Java Runtime only recognizes class file versions up to X

Solution: Your version of the Java Runtime is outdated.

On some operating systems, the installed Java Runtime might not be up-to-date and prevent AVAA from executing properly.

At least Java 11 is required. Install the latest Java Runtime from the trusted adoptium releases.

BindException: Couldn't bind to any port

java.net.BindException: Couldn't bind to any port in the range `41744:41744`.
    at org.glassfish.grizzly.AbstractBindingHandler.bind(AbstractBindingHandler.java)
    at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java)
    at org.glassfish.grizzly.http.server.NetworkListener.start(NetworkListener.java:)
    at org.glassfish.grizzly.http.server.HttpServer.start(HttpServer.java)
    at org.avaatoolkit.server.Server.start(Daemon.java)
    at org.avaatoolkit.Main.main(Main.java)

Solution: AVAA is already started with the --server argument, close it before running a new instance.

Solution: Firewall policy regarding localhost port bindings, add a rule to allow localhost:41744