v1.8.0 comes bundled with its own JRE. Avoid pointing it to a custom Java path unless necessary. Path Length:
As of my latest knowledge, STMicroelectronics typically recommends using the latest stable version (e.g., 1.15+ or 1.16+). Version 1.8.0 is older. I have provided the official method to access archived versions below. stm32cubeide 180 download link
Navigate to the "Get Software" section at the bottom of the page and select the installer for your operating system (Windows, Linux, or macOS). What’s New in Version 1.18.0 stm32cubeide 180 download link
For your convenience, here are the direct download links for STM32CubeIDE 1.8.0: stm32cubeide 180 download link