Trouble Decompiling code first time.

This sub-forum is dedicated to add-ons and texture packs for Better Than Wolves.
Post Reply
Moldiworp2
Posts: 84
Joined: Mon Mar 26, 2012 4:04 am

Trouble Decompiling code first time.

Post by Moldiworp2 »

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.
Hiracho
Posts: 103
Joined: Wed Dec 19, 2012 3:43 pm

Re: Trouble Decompiling code first time.

Post by Hiracho »

It's about you not having the older Java which still supports that option. the wiki also says:

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.
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 ;)
User avatar
dawnraider
Posts: 1876
Joined: Sun Dec 11, 2011 7:00 pm

Re: Trouble Decompiling code first time.

Post by dawnraider »

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!
Post Reply