OxideWaveLength / Minecraft-Hack-BaseClient

This is a Minecraft Base Client
MIT License
314 stars 48 forks source link

Lambda expressions are allowed only at source level 1.8 or above Multi-catch parameters are not allowed for source level below 1.7 at net.minecraft.client.Minecraft.<init>(Minecraft.java:411) at net.minecraft.client.main.Main.main(Main.java:108) at Start.main(Start.java:7) #99

Closed brodycritchlow closed 2 years ago

brodycritchlow commented 2 years ago

Lambda expressions are allowed only at source level 1.8 or above Multi-catch parameters are not allowed for source level below 1.7

at net.minecraft.client.Minecraft.<init>(Minecraft.java:411)
at net.minecraft.client.main.Main.main(Main.java:108)
at Start.main(Start.java:7)
OxideWaveLength commented 2 years ago

You have to set the Java version to 1.8 (Java 8) or higher. Open Eclipse, right click the project, hover on "Build Path" and click on "Configure Build Path..."; click on "Libraries", double click on "JRE System Library" and set the "Execution environment" to Java 1.8 It's not a bug within the base client or a bug at all, it has to do with some programming instructions used to write the base client that have been added in Java 8 and are therefore not supported in prior versions

OxideWaveLength commented 2 years ago

I will close the issue now; open it again if the issue isn't solved or if you need further assistance in applying the fix