problems to install Lositan with Java because it is signed using MD5
1
1
Entering edit mode
4.0 years ago

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.

Sincerely,

Carol

software error lositan • 2.1k views
0
Entering edit mode

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.

2
Entering edit mode
3.9 years ago

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

0
Entering edit mode

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:

0
Entering edit mode

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