javaminecraft

How to fix the error when decompiling MCP 9.18?


When I am decompiling the MCP 9.18 (For 1.8.8) to make a minecraft client I get an error. At the point of when it reached the recompiling process it gave me a massive error.

pic from cmd prompt

I think that the statement:

== ERRORS FOUND in JAVA CODE ==

error: Source option 6 is no longer supported. Use 7 or later. 

error: Target option 6 is no longer supported. Use 7 or later.

==

Should help.


Solution

  • Encountered this error just before, go here:

    conf\mcp.cfg

    Open & edit the file, go to CmdRecomp, change values of -source & -target from 1.6 to 1.8

    Source and target must equal the same value. Chances are you will be using 1.8/Java 8, so use that instead of 1.7/Java 7 as the error says.