Hızlı yanıt: kod örneği
The easiest solution is to change the Java version in your IDE. In Intellij, go to File --> Project Structure and change the Project SDK to the one that is supported by your Java Runtime (in your case it's 52 which corresponds to version 8 or less). Here's a table that shows the mapping between Java SE Version and Major Version:Java SEMajor version1.0.2451.1451.2461.3471.4485.049650751852953105411551256135714581559166017611862196320642165The table is taken from: https://docs.oracle.com/javase/specs/jvms/se21/html/jvms-4.html