root@XXX [ /opt/vmware/impex ]# java -jar import-export.jar --exportInteractive
***Copyright (c) 2018-2023 VMware, Inc. All rights reserved.***
Initiating CMD interaction.
Enter host name or IP address of a Lookup Service:XX.XX.XX.XX
Enter port (or press Enter in case you use the default - 443):
root@XXXXX [ /opt/vmware/impex ]#
vSphere Replication 9.x
VMware Live Site Recovery 9.x
This issue is consistent across SRM/VR Java tools after upgrading the JDK to openjdk version "21.0.4" or later.
#Fix for VMware Live Site Recovery
JDK_OPTIONS="--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED"
java ${JDK_OPTIONS} -jar import-export.jar
#Fix for vSphere Replication
<version> in the command below with the actual version number, and then run the command:java -Xmx1024m -Xms512m --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED -jar /opt/vmware/vr-impex-tool/vr-impex-tool-<version>.jar --exportInteractive
Export Replication Configuration Data : https://techdocs.broadcom.com/us/en/vmware-cis/live-recovery/vsphere-replication/9-0/vr-help-plug-in-9-0/exporting-and-importing-replication-groups/export-replication-groups-configuration-data.html