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

Cédric Damioli <[email protected]> Sun, 13 Sep 2020 12:46:31 +0200
Newsgroups gmane.text.xml.cocoon.user
Organization Apache Software Foundation
Message-ID <[email protected]>
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: [email protected]
> For additional commands, e-mail: [email protected]
>

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