IBM Support

Build fails with "Unrecognized option: --add-opens"

Troubleshooting


Problem

Builds running on agents using Java 8 fails with the following error:

================================================================================

 Unrecognized option: --add-opens=java.base/java.lang=ALL-UNNAMED

 Error: Could not create the Java Virtual Machine.

 Error: A fatal exception has occurred. Program will exit.

 

 ================================================================================

 Post Processing Script Execution Console Output:


Symptom

The issue occurs only with agents using Java 8.

Document Location

Worldwide


[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS8NMD","label":"IBM UrbanCode Build"},"ARM Category":[{"code":"a8m50000000ChuKAAS","label":"UrbanCode Build"}],"ARM Case Number":"TS007392446","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM UrbanCode Build

Component:
UrbanCode Build

Software version:
All Versions

Document number:
6837351

Modified date:
11 November 2022

UID

ibm16837351

Manage My Notification Subscriptions