My requirement: I've unpacked a jar
and then changed a .class
file after de-compiling in to .java
file.
This .java
file has few errors as it uses few stuffs like methods and variable from other places which is in the JAR
.
Now I want to change the .java
file in to .class
file and then want to add in the JAR
and see my changes are working or not.
Background:
- I've unpacked the ATU Jar file and the de-complied the
ATUReportsListener.class
. - I've the
ATUReportsListener.java
file now and I made some changes to it. - Now I want to covert to
.class
executable file again and the pack in to the JAR. But as theATUReportsListener.java
has few stuffs which are dependent on other files of the original ATU JAR.I'm not able to compile it.
How would i do that?
Converting to .class
file . Please give your valuable input.