There appears to be a slight confusion between two different versions in your request: Java 18 (released in 2022) and Java 8 Update 241 (released in 2020). Because "1.8" is the internal version string for Java 8, it is highly likely you are looking for details on Java 8 Update 241 (8u241).
| Issue | Solution |
|-------|----------|
| "Unsupported class file version 62.0" | Your app needs Java 18+, but you have older JRE |
| "Java 18 is not a supported LTS" | Ignore – many CI tools warn but work fine |
| Module not found | Java 18 removed java.se.ee – use standard java.sql, java.xml | java runtime 18 u241 work
The primary driver for any "Update" release in the Java 8 lifecycle is security. 8u241 was a Critical Patch Update (CPU) that addressed a significant number of vulnerabilities. There appears to be a slight confusion between
If you intend to make Java Runtime 18 u241 work in a secure environment, substitute u241 with the actual 18.0.2.1: Common Issues & Fixes | Issue | Solution