Convert a file-based RSA SecurID software token from .sdtid (CTF) format to a QR code failed with error "Java is not recognized"
2 years ago
Article Number
000071916
Applies To
RSA Product Set: SecurID
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.x
Issue
On converting a file-based RSA SecurID software token from .sdtid (CTF) format to a QR code in Authentication Manager 8.x, an error occurred "Java is not recognized" after executing the below command (step #10 in this KB article).

java -jar TokenConverter.jar android1x.sdtid -android -qr -o qrCode.jpeg
Cause
Java JDK is not installed on this Windows machine.
Resolution
  1. Visit the Official Oracle website.
  2. Download the latest version of the JDK that matches your operating system.
  3. Run the installer and follow the on-screen instructions.
  4. After installation, set the JAVA_HOME environment variable to the JDK installation directory.
    • On Windows: Right-click on the "This PC" or "My Computer" icon on your desktop or File Explorer and select "Properties." In the System window, click on "Advanced system settings" on the left-hand side. You can now copy the environment variables.
    • In the System Properties window, click on the "Environment Variables" button.
    • In the "System Variables" section, click on the "New" button.
    • Set the "Variable name" as JAVA_HOME.
    • In the "Variable value" field, enter the path to the JDK installation directory. For example, if the JDK is installed in "C:\Program Files\Java\jdk1.8.0_XXX" (where XXX represents the specific update number), enter that path.
    • Click "OK" to save the changes.
  5. Open the cmd and execute: java -version
    • Expected output: Java JDK installed versionScreenshot 2024-01-29 091656.jpg