Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By stephencz243

Thread: How to compile a file that contains errors?

  1. #1
    stephencz243 is offline Member
    Join Date
    Mar 2014
    Posts
    2
    Rep Power
    0

    Lightbulb How to compile a file that contains errors?

    Hello! I am making a simple mod/hack for a game programmed in Java. I located the .class file I needed and deobfuscated it and then decompiled it. After that I went in and made a very simple adjustment that I wanted to make. Unfortunately I can across a problem when trying to compile the file! The file won't compile because there are errors. The reason there are errors is because this is just one file out of an entire game. I know this my seem weird, but is there some way I can compile the file with the errors.
    sattyapal likes this.

  2. #2
    gimbal2 is online now Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,646
    Rep Power
    5

    Default Re: How to compile a file that contains errors?

    Nope. You need the missing classes. But if you have the game, you have those classes; all you need to do then is put them on the classpath so that Java can find them.

    You may now have the urge to ask "How do I do that", but I warn you: the answer will be a reference to Google.
    Last edited by gimbal2; 03-19-2014 at 10:51 AM.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    stephencz243 is offline Member
    Join Date
    Mar 2014
    Posts
    2
    Rep Power
    0

    Default Re: How to compile a file that contains errors?

    Ohhh that makes sense. I thank you good sir!

  4. #4
    gimbal2 is online now Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,646
    Rep Power
    5

    Default Re: How to compile a file that contains errors?

    *takes a bow*
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Date Compile Errors
    By juan4412 in forum New To Java
    Replies: 4
    Last Post: 06-04-2013, 12:20 AM
  2. SetterGetter won't compile without errors?
    By doreilly15 in forum New To Java
    Replies: 4
    Last Post: 02-08-2012, 06:51 AM
  3. help with compile errors
    By bzupnick in forum New To Java
    Replies: 1
    Last Post: 02-15-2011, 08:14 PM
  4. Replies: 4
    Last Post: 01-04-2011, 12:36 AM
  5. compile errors (how do I fix)
    By rhythmiccycle in forum New To Java
    Replies: 4
    Last Post: 01-03-2011, 10:33 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •