This is a test version of Biostars. For the public version, visit https://www.biostars.org.
problems to install Lositan with Java because it is signed using MD5

I need help to install the program LOSITAN both in my MAC and Linux machines but I have the following problems:

  1. Java doesn't allow me to install the LOSITAN because it has a weak signature algorithm MD5withRSA and is treated as unsigned. Even though I have the website http://popgen.net among my exceptions in Java security. Java's blog suggest contacting developers in order to solve this problem https://blogs.oracle.com/java-platform-group/oracle-jre-will-no-longer-trust-md5-signed-code-by-default

  2. I'm trying to install all the programs needed for LOSITAN in order to be able to use it on my Linux machine (from source) but the Fdist2 program is unavailable, all the links to download it are broken, so I can do nothing.

Can someone please help me to solve these problems.

Sincerely,

Carol

software error lositan

I am not sure, but I don't think you need to install Fdist2 if you manage to run LOSITAN using java web start.

I managed to find datacal.c and fdist2.c at this Dryad repository, but the other source files are missing.

1 answer

It is very simply to fix this problem by following instructions from next web page:

https://www.blackmoreops.com/2017/06/08/fix-java-error-unsigned-application-requesting-unrestricted-access-to-system/

In Windows go to: C:\Program Files (x86)\Java\jre7\lib\security\java.security

Simply edit the file "java.security" by Notepad++ and added a hash # in front of the line "jdk.jar.disabledAlgorithms" as next:

#jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024

I added code markup to your post for increased readability. You can do this by selecting the text and clicking the 101010 button. When you compose or edit a post that button is in your toolbar, see image below:

101010 Button

exactly thats the way to fix it just in case windows doesnt let you change the file, copy it to desktop, change it there, and then replace that file with the changed one

Log in to answer this question.