Skip to main content

 IT Team completed a Java upgrade (Java 8_451). However, after the upgrade, all machines are facing an issue where the bots throw the following error during execution:

"Java™️ Web Launcher stopped working" - Recorder:Capture Action

Upon reviewing the bot code, I noticed that the application path still points to the older Java version. the Path doesn’t exist in the device.

Could you please guide us on how to update this path to reflect the newer Java version? its not editable/greyed out from my end.

 

Action taken:

Java Access Bridge is enabled

Hi ​@pbaskaran,

  • Uninstall and reinstall the Bot Agent
  • During reinstallation, ensure it detects the correct Java version which might helps to fix the issue

Thanks for the suggestion. I tried the above workaround. but it doesn’t work.


Could you please provide the error that occurred during the task execution


You will have to recapture the window for it to detect the updated path location.

Launch the application, click refresh icon and select the new window from dropdown.


Issue:

The  IT team upgraded to the 64-bit Java 8 Update 451 version. While the Windows OS is indeed 64-bit, our previous setup was using the 32-bit version of Java, which led to compatibility issues.

Resolution: based on below steps the above issue resolved for us.

🔁 Uninstallation Steps

  1. Uninstall Java:
    • Go to Control Panel > Programs > Programs and Features.
    • Uninstall all Java versions.
    • Note whether the installed version was 32-bit or 64-bit.
  2. Stop Automation Anywhere Services:
    • Press Win + R, type services.msc, and press Enter.
    • Locate Automation Anywhere Bot Agent service.
    • Right-click and select Stop.

🧹 Clean-Up Steps

  1. Delete Java-Related Folders (if present):
    • C:\ProgramData\Oracle
    • C:\Program Files (x86)\Java (for 32-bit Java)
    • C:\Program Files\Java (for 64-bit Java)
    • %temp% (Delete all temporary files)
  2. Remove Java from System Environment Variables:
    • Search for Environment Variables in the Windows search bar.
    • In the System Properties window, click Environment Variables.
    • Under System Variables, select Path and click Edit.
    • Remove any entries related to:
      • C:\Program Files (x86)\Java\JRE<xx>\bin
      • C:\Program Files\Java\JRE<xx>\bin
  3. Restart the system to ensure a clean slate before reinstallation.

🛠️️ Installation Steps

  1. Install Java:
  2. Set Java Path in Environment Variables:
    • Open Environment Variables again.
    • Under System Variables > Path, click Edit, then Add:
      • For 32-bit: C:\Program Files (x86)\Java\JRE<xx>\bin
    • Click OK to save changes.
  3. Restart Automation Anywhere Services:
    • Go back to services.msc
    • Right-click Automation Anywhere Bot Agent and select Start.

▶️ Final Step – Test

  1. Run the Bot and check if the issue is resolved.

Reply