You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Thorsten Mauch <ma...@imkenberg.de> on 2020/09/13 09:31:34 UTC

Build failed: -Djava.endorsed.dirs=lib/endorsed is not supported.

Hi ,

I try to build cocoon but i get an  this error:

-Djava.endorsed.dirs=lib/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.


Is use;

java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)


I understood from read me, that java 1.8 is supported by the build 
system. Any ideas what i may made wrong ?


Thanks

Thorsten


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Build failed: -Djava.endorsed.dirs=lib/endorsed is not supported.

Posted by Cédric Damioli <cd...@apache.org>.
Hi,

It should be ok to build with Java 8.
AFAIK, this error message in only provided by a JVM 9+

Is it possible that you have both JRE 8 and JRE 9+ on your system and 
that you use the wrong one ?

Regards,
Cédric

Le 13/09/2020 à 11:31, Thorsten Mauch a écrit :
> Hi ,
>
> I try to build cocoon but i get an  this error:
>
> -Djava.endorsed.dirs=lib/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.
>
>
> Is use;
>
> java version "1.8.0_191"
> Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
> Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
>
>
> I understood from read me, that java 1.8 is supported by the build 
> system. Any ideas what i may made wrong ?
>
>
> Thanks
>
> Thorsten
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>

-- 
Cédric Damioli
CMS - Java - Open Source
www.ametys.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org