lunedì 23 maggio 2022

Come risolvere il messaggio d'errore: "Incompatible JVM. Version 1.8.0_261 of the JVM is not suitable for this product. Version: 11 or greater is required" in Eclipse

Lanciando Eclipse, come risolvere il messaggio d'errore: "Incompatible JVM. Version 1.8.0_261 of the JVM is not suitable for this product. Version: 11 or greater is required in Eclipse Come JVM incompatibile". ovvero ci sta dicendo che la versione 1.8.0_261 della JVM non è adatta per questo prodotto e che una versione 11 o successiva è richiesta per far partire Eclipse. Per risolvere questo errore, bisogna solo aggiungere due righe seguenti direttamente nel file eclipse.ini.

-vm 
C:\Program Files\Java\jdk-11.0.9\bin\javaw.exe