'Unrecognized option -d64' when starting JWP and JCP processes Java 11 or 17
search cancel

'Unrecognized option -d64' when starting JWP and JCP processes Java 11 or 17

book

Article ID: 266813

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

There are 2 cases detected where this can occur:

  • On a working AE system, the JCP and JWP processes start normally with a JRE 8, but as soon as Java is upgraded to JRE 11 OpenJDK, these processes don't start anymore. No log messages are generated.
  • On a newly installed Java processes using JRE 11 or 17, this can occur as well. 

Environment

Release : 12.x, 21.x and 24.x

Component: Automation Engine

Cause

The deprecated parameter '-d64' being used to start the JCP and JWP processes defined in the .smd file used by the Service Manager.

The error can only be detected when launching the JCP or JWP process manually in the command line with the same command as in the SMgr:

[automic@server bin]$ /usr/bin/java -d64 -Xmx2G -jar ucsrvjp.jar -I/automic/AutomationEngine/bin/ucsrv.ini -svc8871
Unrecognized option: -d64
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Resolution

Remove all unrecognized flags (like -d64) from the command lines starting the JCP and JWP in the .smd file so that Java processes can start correctly on Java 11 and later versions.

Additional Information

It's known that the following options are unrecognized in Java 11:

-d64
PrintGCTimeStamps
PrintGCDateStamps
PrintTenuringDistribution
PrintGCCause
UseGCLogFileRotation
NumberOfGCLogFiles
GCLogFileSize