• Installation problem with Java cryptography

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #53233  by anto2
 
Hello, failing to install on a Windows system, my log is as follows. Any hint?
Thank you!
Code: Select all
2022-01-30 09:59:19,412 [    main] INFO  com.openkm.installer.Main - Running on Windows: 0.9.19-CE (build: ef7e83a)
2022-01-30 09:59:19,428 [    main] INFO  com.openkm.installer.Main - Local host: ANT-MON-33-NB (192.168.1.139)
2022-01-30 09:59:19,429 [    main] INFO  com.openkm.installer.Main - Java version: 17.0.2
2022-01-30 09:59:19,432 [    main] INFO  com.openkm.installer.Main - JAVA_HOME = C:\Program Files (x86)\Java\jre1.8.0_201
2022-01-30 09:59:19,439 [    main] WARN  com.openkm.installer.c.k - Failed to remove cryptography restrictions
java.lang.reflect.InaccessibleObjectException: Unable to make field private static final boolean javax.crypto.JceSecurity.isRestricted accessible: module java.base does not "opens javax.crypto" to unnamed module @31a5c39e
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
	at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
	at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
	at com.openkm.installer.c.k.b(SourceFile:129)
	at com.openkm.installer.Main.a(SourceFile:115)
	at com.openkm.installer.Main.main(SourceFile:83)
2022-01-30 09:59:19,443 [    main] INFO  com.openkm.installer.Main - Free disk size: 282.7 GB
2022-01-30 09:59:19,458 [    main] INFO  com.openkm.installer.Main - RAM size: 7.9 GB
2022-01-30 09:59:19,459 [    main] INFO  com.openkm.installer.Main - CPU cores: 4
2022-01-30 09:59:19,472 [    main] INFO  com.openkm.installer.Main - Server IP: 192.168.1.139
2022-01-30 09:59:19,474 [    main] INFO  com.openkm.installer.Main - Supported databases: [h2, hsqldb, mariadb, mysql, oracle, postgresql, sqlserver]
2022-01-30 09:59:19,476 [    main] INFO  com.openkm.installer.Main - Current directory: C:\
2022-01-30 09:59:19,476 [    main] INFO  com.openkm.installer.Main - ERROR: OpenKM needs Java 1.8
 #54218  by jllort
 
You are executing openkm with java 17.0.2 as is shown in your log
Code: Select all
2022-01-30 09:59:19,429 [    main] INFO  com.openkm.installer.Main - Java version: 17.0.2
* You must installing java 1.8 ( that's the first )
* Maybe the easiest is to remove the upper java version and let only 1.8 in the server

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.