This is a test version of Biostars. For the public version, visit https://www.biostars.org.
LOSITAN: Unable to launch the application

Hello, I am having trouble running lositan using windows and linux.

In windows I get an application error: "Unable to launch the application"

In linux I get an application error reading:

"Fatal: initialization error: could not initialize the application. The application has not been initialized, for more information execute javaws from the command line."

The error details are:

net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application. The application has not been initialized, for more information execute javaws from the command line.
    at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:813)
    at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:532)
    at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:936)
Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Application Error: Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.
    at net.sourceforge.jnlp.runtime.JNLPClassLoader$SecurityDelegateImpl.getClassLoaderSecurity(JNLPClassLoader.java:2393)
    at net.sourceforge.jnlp.runtime.JNLPClassLoader.setSecurity(JNLPClassLoader.java:321)
    at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:734)
    at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:285)
    at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:357)
    at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:429)
    at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:403)
    at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:805)
    ... 2 more

I have tried purging the cache in linux and that did not solve the problem.

Any suggestions?

Thanks, Mike

lositan

This looks like a security issue, the key sentence:

Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.

As a measure of Java security, Java normally forbids the execution of unsigned code or code with an invalid certificate. These days, default security settings are often set to high. Solutions:

  • Ask the authors to sign their Java code, distributing unsigned code is really really bad practice (especially when supporting through biostars ;)
  • Lower your security settings or make an exception for this file (but be vigilant)

In addition to what @Michael said, LOSITAN page is referring to Java 1.6. That older version may be more lax in allowing you to run unsigned software and/or may be needed to run LOSITAN if it has not been validated with current Java.

Hello michaeldonaldson!

Questions similar to yours can already be found at:

We have closed your question to allow us to keep similar content in the same thread.

If you disagree with this please tell us why in a reply below. We'll be happy to talk about it.

Cheers!

0 answers

No answers yet.

Log in to answer this question.