Problème d'installation de Dhis2 version 2.38 sur machine virtuelle ubuntu 16

Bonjour
Je veux installer dhis2 verssion 2.38 sur une machine virtuelle ubuntu 16
j’ai l’erreur suivante:
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit
Aidez moi

Bonjour @Waigalo

Pouvez vous donner plus de détails sur comment vous faites l’installation ?

Utilisez-vous la méthode manuelle ? Ou bien l’installation avec les outils dhis2-ng-tools ?

1 Like

J’utilise la méthode manuelle. j’ai installer java 11 et j’ai suivi exactement le tuto consacré à l’installation de dhis2 2.38

Bonsoir @Waigalo and @didate,

Was the issue solved? @Waigalo were you able to solve the problem?

Merci!

Pas encore, j’ai toujours le problème
le message d’erreur est:
-Djava.endorsed.dirs=/usr/share/tomcat8/endorsed is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Je te conseil d’utiliser la méthode d’installation dhis 2 ng tools. C’est beaucoup plus facile.

1 Like

@didate thanks! :slight_smile:

@Waigalo , if it might help: I did a quick search online and read that removing the line “Djava.endorsed.dirs=/usr/share/tomcat8/endorsed” from the JVM arguments solves the issue. Please give it a try and see if it works.

Merci! :smiley:

Bonjour
Je n’arrive à trouver l’argument: Djava.endorsed.dirs=/usr/share/tomcat8/endorsed
*

Bonjour,
Sorry for the late reply!
Please check the Tomcat properties. On windows, there are properties such as the screenshot below.