Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2008
    Posts
    1
    Rep Power
    0

    Default Compiling a single class

    Hello,

    I have decompiled a *.class file and want to recompile it to bytecode. Is there a way to do this without decompiling the the rest of the program?

    Thank you

  2. #2
    JAdmin is offline Member
    Join Date
    Jan 2008
    Posts
    20
    Rep Power
    0

    Default

    Not a good idea to decompile someone else's class file. Anyway, you can compile the file as long as you have all the other classes that this particular file refers, in the classpath.
    Sincerely, Your friends at www.javaadvice.com

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. how to read single Keystroke without using return
    By oomanamemni in forum New To Java
    Replies: 1
    Last Post: 02-14-2008, 08:21 PM
  2. Compiling a class in a package from cmd
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-17-2007, 11:27 AM
  3. convert a lot of images into a single one
    By leonard in forum New To Java
    Replies: 1
    Last Post: 08-06-2007, 05:47 PM
  4. variable to accept a single object
    By Rgfirefly24 in forum New To Java
    Replies: 1
    Last Post: 08-06-2007, 05:41 AM
  5. Replies: 1
    Last Post: 06-06-2007, 05:20 AM

Posting Permissions

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