I know nothing about java, but decided to give it a try since I crash frequently in SMP. It also gives errors when recompiling the file.
I extracted minecraft.jar with 7zip into E:\temp, and then downloaded and put jad.exe into that folder. I also installed jdk.
"jad -s java ii.class" gives:
Parsing ii.class... Generating ii.java
Overlapped try statements detected. Not all exception handlers will be resolved
in the method a
Overlapped try statements detected. Not all exception handlers will be resolved
in the method b
This generated ii.java, in which I commented out line 28.
In jdk\bin I typed "javac e:\temp\ii.java" and received the following error message:
C:\Program Files\Java\jdk1.6.0_21\bin>javac e:\temp\ii.java
e:\temp\ii.java:13: cannot find symbol
symbol : class lb
location: class ii
public ii(Socket socket, String s1, lb lb1)
^
e:\temp\ii.java:37: cannot find symbol
symbol : class fn
location: class ii
public void a(fn fn1)
^
e:\temp\ii.java:199: cannot find symbol
symbol : class lb
location: class ii
private lb l;
^
e:\temp\ii.java:31: cannot find symbol
symbol : class ni
location: class ii
o = new ni(this, (new StringBuilder()).append(s1).append(" read thread")
.toString());
^
e:\temp\ii.java:32: cannot find symbol
symbol : class nk
location: class ii
n = new nk(this, (new StringBuilder()).append(s1).append(" write thread"
).toString());
^
e:\temp\ii.java:43: operator + cannot be applied to fn.a,int
s += fn1.a() + 1;
^
e:\temp\ii.java:43: inconvertible types
found : <nulltype>
required: int
s += fn1.a() + 1;
^
e:\temp\ii.java:59: cannot find symbol
symbol : class fn
location: class ii
fn fn1;
^
e:\temp\ii.java:62: cannot find symbol
symbol : class fn
location: class ii
fn1 = (fn)j.remove(0);
^
e:\temp\ii.java:63: operator + cannot be applied to fn.a,int
s -= fn1.a() + 1;
^
e:\temp\ii.java:63: operator - cannot be applied to int,<nulltype>
s -= fn1.a() + 1;
^
e:\temp\ii.java:65: cannot find symbol
symbol : variable fn
location: class ii
fn.a(fn1, g);
^
e:\temp\ii.java:70: cannot find symbol
symbol : class fn
location: class ii
fn fn2;
^
e:\temp\ii.java:73: cannot find symbol
symbol : class fn
location: class ii
fn2 = (fn)k.remove(0);
^
e:\temp\ii.java:74: operator + cannot be applied to fn.a,int
s -= fn2.a() + 1;
^
e:\temp\ii.java:74: operator - cannot be applied to int,<nulltype>
s -= fn2.a() + 1;
^
e:\temp\ii.java:76: cannot find symbol
symbol : variable fn
location: class ii
fn.a(fn2, g);
^
e:\temp\ii.java:94: cannot find symbol
symbol : class fn
location: class ii
fn fn1 = fn.b(f);
^
e:\temp\ii.java:94: cannot find symbol
symbol : variable fn
location: class ii
fn fn1 = fn.b(f);
^
e:\temp\ii.java:119: cannot find symbol
symbol : class nh
location: class ii
(new nh(this)).start();
^
e:\temp\ii.java:150: cannot find symbol
symbol : class fn
location: class ii
fn fn1;
^
e:\temp\ii.java:152: cannot find symbol
symbol : class fn
location: class ii
fn1 = (fn)i.remove(0);
^
Note: e:\temp\ii.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
22 errors
0
I extracted minecraft.jar with 7zip into E:\temp, and then downloaded and put jad.exe into that folder. I also installed jdk.
"jad -s java ii.class" gives:
This generated ii.java, in which I commented out line 28.
In jdk\bin I typed "javac e:\temp\ii.java" and received the following error message:
Any idea what I did wrong?