Error occurred during initialization of VM java.lang.InternalError: Could not create SecurityManager

Can anyone help me to solve this issue:

hasibul@hasibul-S551LN:/media/hasibul/WD_BACKUP/temp/Consulo$ ./consulo.sh
WARNING: Unknown module: consulo.container.impl specified to --add-opens
WARNING: Unknown module: consulo.container.impl specified to --add-opens
WARNING: Unknown module: consulo.container.impl specified to --add-opens
WARNING: Unknown module: consulo.container.impl specified to --add-opens
WARNING: Unknown module: consulo.container.impl specified to --add-opens
WARNING: package com.apple.eawt not in java.desktop
WARNING: Unknown module: consulo.container.impl specified to --add-opens
WARNING: Unknown module: consulo.container.impl specified to --add-opens
WARNING: Unknown module: consulo.container.impl specified to --add-opens
WARNING: Unknown module: consulo.container.impl specified to --add-opens
WARNING: package com.apple.laf not in java.desktop
WARNING: package com.apple.eawt.event not in java.desktop
WARNING: Unknown module: consulo.container.impl specified to --add-opens
WARNING: Unknown module: consulo.container.impl specified to --add-opens
WARNING: Unknown module: consulo.container.impl specified to --add-opens
Error occurred during initialization of VM
java.lang.InternalError: Could not create SecurityManager
	at java.lang.System.initPhase3(java.base@17.0.8/System.java:2226)
Caused by: java.lang.ClassNotFoundException: consulo.container.impl.securityManager.impl.ConsuloSecurityManager
	at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@17.0.8/BuiltinClassLoader.java:641)
	at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@17.0.8/ClassLoaders.java:188)
	at java.lang.ClassLoader.loadClass(java.base@17.0.8/ClassLoader.java:525)
	at java.lang.Class.forName0(java.base@17.0.8/Native Method)
	at java.lang.Class.forName(java.base@17.0.8/Class.java:467)
	at java.lang.System.initPhase3(java.base@17.0.8/System.java:2210)

hasibul@hasibul-S551LN:/media/hasibul/WD_BACKUP/temp/Consulo$

i am using consulo.dist.linux64_3355.tar.gz. i have installed jdk 17 and set JAVA_HOME. any other things required? like mevan?

The /.gradle/daemon folder may be corrupt. You can remove this and recompile to create it again.

Maven is an alternate compiler, not necessary to exchange for gradle. You would also have to change any configuration files if you use maven instead of gradle.

I have deleted the .gradle folder and rerun. but same result. I am sorry to ask sir, how to recompile? because inside consulo folder has

hasibul@hasibul-S551LN:/media/hasibul/WD_BACKUP/temp/Consulo$ ls
consulo64.vmoptions  consulo.properties  consulo.vmoptions      platform
consulo.png          consulo.sh          Install-Linux-tar.txt
hasibul@hasibul-S551LN:/media/hasibul/WD_BACKUP/temp/Consulo$

please explain. thanks for your help.

android - How to regenerate build.gradle file after deleting - Stack Overflow to rebuild your gradle directory.

I was under the impression that your gradle build was corrupt.
This:
java.lang.ClassNotFoundException: consulo.container.impl.securityManager.impl.ConsuloSecurityManager
Indicates that you either did not properly import the class or that path is not known to reach it.

1 Like

Consulo developer Fixed the problem. Thanks.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.