Hey, as you know it, i'm very, very new to Java. Its really cool and fun.
But lets get to the problem.
Okay, so i'm editing this .jar file, and it has multiple .class files. I want to edit a class file, so I decompiled it with a decompiler. So, I got the source. Now what i'm trying to do is recompile the edited .java file. The console gives me errors, (Cannot find symbol errors), and it cannot find different values and variables located in different class files. So, I am wondering how to get those values from the class files, so the console does not return errors and compiles it.
If you need a sample problem, here:
Variable "yd" is explained in another file.Code:
*.java:215: cannot find symbol
symbol : variable yd
location: class *
this.yd = (float)(this.yd - 0.02D);
Is there an addition to the command for it to use the other files' variables?
Theres a ton of these problems, and all the variables are contained in the other files.
I'm sorry if i'm missing something obvious. Its hard to explain this, i'm a beginner.