Gerrit van Ewijk Member Licensed User Nov 15, 2017 #1 Hello i'am a beginner in B4a now i have made a little program that i want to compile in release mode I HAVE MADE A PRIVATE KEY BUT the problem is that I GET AN error during the release compiling . THE ERROR IS => jarsigner error: java.security.InvalidKeyException: The security strength of SHA-1 digest algorithm is not sufficient for this key size <= IS SOMEONE FAMILAIR WITH THIS PROBLEM ! THANKS FOR READING THIS , I HOPE SOMEONE CAN HELP ME TO FIX THIS PROBLEM
Hello i'am a beginner in B4a now i have made a little program that i want to compile in release mode I HAVE MADE A PRIVATE KEY BUT the problem is that I GET AN error during the release compiling . THE ERROR IS => jarsigner error: java.security.InvalidKeyException: The security strength of SHA-1 digest algorithm is not sufficient for this key size <= IS SOMEONE FAMILAIR WITH THIS PROBLEM ! THANKS FOR READING THIS , I HOPE SOMEONE CAN HELP ME TO FIX THIS PROBLEM
Erel B4X founder Staff member Licensed User Longtime User Nov 16, 2017 #2 How did you create the key? Are you using B4A v7.3? Which version of Java are you using (Tools - Configure Paths)? I'm not sure why it happens, it will probably be solved by installing Java 8u102: http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html Don't forget to configure the IDE to use this version. Upvote 0
How did you create the key? Are you using B4A v7.3? Which version of Java are you using (Tools - Configure Paths)? I'm not sure why it happens, it will probably be solved by installing Java 8u102: http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html Don't forget to configure the IDE to use this version.
lemonisdead Well-Known Member Licensed User Longtime User Nov 16, 2017 #3 Erel is right : it is the JDK version. Installing the version Erel advices will immediately solve. Upvote 0
Gerrit van Ewijk Member Licensed User Nov 16, 2017 #4 Erel said: How did you create the key? Are you using B4A v7.3? Which version of Java are you using (Tools - Configure Paths)? I'm not sure why it happens, it will probably be solved by installing Java 8u102: http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html Don't forget to configure the IDE to use this version. Click to expand... Thanks for the fast answer , will try it soon , let you now soon if it is working. Upvote 0
Erel said: How did you create the key? Are you using B4A v7.3? Which version of Java are you using (Tools - Configure Paths)? I'm not sure why it happens, it will probably be solved by installing Java 8u102: http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html Don't forget to configure the IDE to use this version. Click to expand... Thanks for the fast answer , will try it soon , let you now soon if it is working.
Gerrit van Ewijk Member Licensed User Nov 19, 2017 #5 I'm using b4a v7.3 and installed java 8u102 the problem is still actual Upvote 0
lemonisdead Well-Known Member Licensed User Longtime User Nov 19, 2017 #6 Gerrit van Ewijk said: I'm using b4a v7.3 and installed java 8u102 the problem is still actual Click to expand... Did you thought to update the path to javac in B4A IDE ? Upvote 0
Gerrit van Ewijk said: I'm using b4a v7.3 and installed java 8u102 the problem is still actual Click to expand... Did you thought to update the path to javac in B4A IDE ?
f0raster0 Well-Known Member Licensed User Longtime User Nov 24, 2017 #7 Hi, I'm having the same error.. jarsigner error: java.security.InvalidKeyException: The security strength of SHA-1 digest algorithm is not sufficient for this key size Click to expand... B4A Version: 7.30 Java\jdk1.8.0_102\bin\javac.exe android-27\android.jar Upvote 0
Hi, I'm having the same error.. jarsigner error: java.security.InvalidKeyException: The security strength of SHA-1 digest algorithm is not sufficient for this key size Click to expand... B4A Version: 7.30 Java\jdk1.8.0_102\bin\javac.exe android-27\android.jar
f0raster0 Well-Known Member Licensed User Longtime User Nov 24, 2017 #8 Gerrit van Ewijk said: I'm using b4a v7.3 and installed java 8u102 the problem is still actual Click to expand... try \Java\jdk1.8.0_91\bin\javac.exe I'm not sure what version should be used.. but jdk1.8.0_91 is working for me.. Upvote 0
Gerrit van Ewijk said: I'm using b4a v7.3 and installed java 8u102 the problem is still actual Click to expand... try \Java\jdk1.8.0_91\bin\javac.exe I'm not sure what version should be used.. but jdk1.8.0_91 is working for me..
Gerrit van Ewijk Member Licensed User Jan 7, 2018 #9 Everything works fine now sorry for late answer. Link in b4a installation description don't show the right download page fo Java\jdk1.8.0_102\bin\javac.exe the links go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html for this version you must go to http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html there are the archive downloads ,hard to find but there it is. Upvote 0
Everything works fine now sorry for late answer. Link in b4a installation description don't show the right download page fo Java\jdk1.8.0_102\bin\javac.exe the links go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html for this version you must go to http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html there are the archive downloads ,hard to find but there it is.
SMOOTSARA Active Member Licensed User Longtime User Jan 25, 2018 #10 Hi guys I have the same problem How can I solve this problem? Attachments 1.PNG 16.4 KB · Views: 702 2.PNG 12.7 KB · Views: 1,342 3.PNG 23.4 KB · Views: 726 test.zip test.zip 315.7 KB · Views: 616 Upvote 0
DonManfred Expert Licensed User Longtime User Jan 25, 2018 #11 arastoo said: I have the same problem Click to expand... You should ALWAYS create a NEW thread for your question. Additionally you should post errors as TEXT and NOT images. Upvote 0
arastoo said: I have the same problem Click to expand... You should ALWAYS create a NEW thread for your question. Additionally you should post errors as TEXT and NOT images.