Expand my Community achievements bar.

SOLVED

web server cannot be started Unrecognized option: --add-opens=java.base/java.io=ALL-UNNAMED

Avatar

Community Advisor

Hello Dear Campaigners,

We have patched our server to 7.4.1 [8f8ba2f](9383) after we are not able to start web server we get following error
Unrecognized option: --add-opens=java.base/java.io=ALL-UNNAMED

Java version:
java version "18" 2022-03-22
Java(TM) SE Runtime Environment (build 18+36-2087)
Java HotSpot(TM) 64-Bit Server VM (build 18+36-2087, mixed mode, sharing)

OS: Windows server 2022 
DB: MSSQL 2022

I did not find anything on the internet

I did reinstall adobe, java nothing helped


Marcel 




Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@Marcel_Szimonisz 
make sure you have the correct path for JRE

 

older version of java was creating 2 folders for JDK and JRE

DavidKangni_0-1726515561282.png

 

newer version of java 

DavidKangni_1-1726515747270.png

Not sure if it's related but last time I was installing the latest release I had a java issue and I was able to fix it by checking the JRE path

 

https://experienceleague.adobe.com/en/docs/experience-cloud-kcs/kbarticles/ka-17288

 

Thanks,

David



David Kangni

View solution in original post

5 Replies

Avatar

Community Advisor

Hi @Marcel_Szimonisz 

 

Can you please check the java requirements as starting v7.4.1 you must generate a JRE as it is no longer provided by default.

 

https://experienceleague.adobe.com/en/docs/campaign-classic/using/installing-campaign-classic/instal...

 

Thanks,
David



David Kangni

Avatar

Community Advisor

Hello @DavidKangni, what does it mean generate JRE? I have defined JRE_HOME env. We have installed JDK and JRE.

Marcel

Avatar

Correct answer by
Community Advisor

@Marcel_Szimonisz 
make sure you have the correct path for JRE

 

older version of java was creating 2 folders for JDK and JRE

DavidKangni_0-1726515561282.png

 

newer version of java 

DavidKangni_1-1726515747270.png

Not sure if it's related but last time I was installing the latest release I had a java issue and I was able to fix it by checking the JRE path

 

https://experienceleague.adobe.com/en/docs/experience-cloud-kcs/kbarticles/ka-17288

 

Thanks,

David



David Kangni

Avatar

Community Advisor

Hello @DavidKangni,

we installed the newest JDK 23

Also I have seen under programs and features old versions
- java 8 udpate
- java 18

I have removed those and refreshed the JRE_HOME to point to new JDK 23 installation folder and all works/ It seems to me as wrong / old java has been used to start tomcat

Thanks for suggestions,

Marcel

Avatar

Community Advisor

@Marcel_Szimonisz 

You're welcome. 
When upgrading your Java version, it is recommended to uninstall the previous version. Both versions of Java installed in the same machine can cause conflicts.

 

Thanks,

David



David Kangni