I've been trying to install eclipse/java etc with the method Magikeh lays out in the Source code post, followed to the letter. I cannot for the life of me get it to decompile. This is my first try at this sort of thing and I get the sense that it is a very minor thing i've overlooked.
Each time it gives this error upon recompiling:
== Recompiling client ==
> Cleaning bin
> Recompiling
'"javac" -Xlint:-options -deprecation -g -source 1.6 -target 1.6 -classpath "lib;lib\*;jars\bin\minec...' failed : 2
== ERRORS FOUND ==
error: Source option 6 is no longer supported. Use 7 or later.
error: Target option 6 is no longer supported. Use 7 or later.
If anyone could give me a hand with this it would be greatly appreciated.
Trouble Decompiling code first time.
-
- Posts: 84
- Joined: Mon Mar 26, 2012 4:04 am
Re: Trouble Decompiling code first time.
It's about you not having the older Java which still supports that option. the wiki also says:
Now there had been a lot of talk on the discord about this subject, for one that version 1.8 will have trouble correctly applying the source patch, other things like not being able to download older JDK versions without registering(for free) and probably other tips/things we noticed. You could hop in there for more troubleshoot guidance ;)
Code: Select all
Error
error: Source option 6 is no longer supported. Use 7 or later.
error: Target option 6 is no longer supported. Use 7 or later.
Fix
Download and install Java JDK version 1.6
Run the mcp751/updatemd5.bat to recompile with the correct java version.
- dawnraider
- Posts: 1876
- Joined: Sun Dec 11, 2011 7:00 pm
Re: Trouble Decompiling code first time.
Unfortunately right now the process for decompiling BTW is kind of a shitshow. Once the Community Edition is released we will be making something to streamline the process. I know yany made something already as a patch for mcp but I don't remember the exact extent of what it does right now.
Come join us on discord! https://discord.gg/fhMK5kx
Get the Deco Addon here!
Get the Better Terrain Addon here!
Get the Vanilla Mix TP here!
Get the Conquest TP here!
Get the Deco Addon here!
Get the Better Terrain Addon here!
Get the Vanilla Mix TP here!
Get the Conquest TP here!