Author Topic: Help - Compiling Java code, installing class libraries  (Read 487 times)

I've been trying to manually update Sonic Ether's Shaders for hours now. I wouldn't have even started if someone hadn't made a post about how he did it himself. After a while of trying to manually move code around which I didn't fully understand to begin with, I decided to mess with the actual Shaders installer. I found that I could simply change it's index to the correct files and commands and it should install correctly again. However, in trying to view MCP's index to apply it to the installer, Ive hit major snags. The biggest one is it does not use actual function names and such - anything beyond the file level is put into fields which are outsourced to surrounding index files. I don't know how to layer the data from those files into the main index so I can find what function is named what so I can apply it to the installer.

The main index is in "mcp70/conf" and named "client.cfg" It appears to depend on other files such as "fields.csv" and "methods.csv" Trying to figure out how the data from there is pulled into the main index is giving me a headache. I've opened the files in OpenOffice and Excel, but I'm not sure how to do this. I'm asking the code-savy Blocklanders for help, because I'm honestly frustrated at how little attention the ones I known personally are giving me. I know they're busy, but this has taken far longer than I expected and I'm losing my patience. I know it can be done, if someone could help me on the snags I keep hitting.
« Last Edit: August 02, 2012, 07:57:51 AM by MegaScientifical »

Why is it whenever I try to compile anything, I get a ton of errors? I tried to compile the Hooks.java after modifying it, and I just 72 errors. I need something, I have no idea what though. This is not a Minecraft .java, so MCP wouldn't be for compiling it.

Edit: This is driving me loving insane. They expect the only people looking into Java already know enough to assume so much loving stuff that it's never explained. Google is completely useless. I get Javassist as it seems to be a class library required to compile Hooks.java, but I have no clue how to actually install it for the thing to use. The installer "installs" but it isn't actually recognized. Then I find pom.xml and try to look up compiling it, bringing me back to this months old problem where I can't figure out how to build ANYTHING. And none of this is explained in a nice way, and I've been at this far longer than I need to be.

Here is the Hooks.java. Could someone please compile this for me? I'm not even sure it'd work, but I can't for the loving life of me simply compile the file to try it out: http://www.mediafire.com/?ffdwxkr63w3fpnk
« Last Edit: August 02, 2012, 08:01:10 AM by MegaScientifical »

Demian has been helping me, but we're unsure how to compile it in Eclipse.