Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>I'd like to know if any of you know anyway to kinda translate the .java to a .class binary file ignoring all the errors ...</p> </blockquote> <p>It is not possible. You can't "force" Java source code to compile if it has errors in it, and it sounds like that is what the problem is.</p> <ul> <li><p>It is not unusual for a Java decompiler to produce output that is not valid Java source code.</p></li> <li><p>If you make mistakes in your "analysis, modification, creation", your source code may not be valid ... especially if, as it seems, you are not experienced in Java programming.</p></li> </ul> <hr> <p>If you post the <strong>actual</strong> source code snippets, and the <strong>actual</strong> compilation errors, we may be able to help.</p> <hr> <p><strong>FOLLOWUP</strong></p> <blockquote> <p>I Have experience with java programming, it's just that I use Eclipse to compile stuff for me, so I never use javac by command line. </p> </blockquote> <p>That is not the problem. You'd run into the same issue if you tried to compile this code with Eclipse.</p> <blockquote> <p>If its not possible to recompile a class with error, can I edit a class within a .jar with some program that unpack decompile, show the code so I can edit and pack it all up again? </p> </blockquote> <p>In theory, Yes. In practice, you'd require a good understanding of bytecodes and the way that compiled code works to be able to pull this off. In particular, if you get it wrong you could run into mysterious exceptions at class load time.</p> <p>The fact that the input classes are obfuscated partly explains why the decompiler is having difficulty producing compilable code.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload