1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

modifying a class file inside jar

Discussion in 'Java' started by sakthi.abdullah, Aug 25, 2007.

  1. sakthi.abdullah

    sakthi.abdullah New Member

    I want to modify a .class file inside a jar file and put it back ..
    How to do this?
  2. pradeep

    pradeep Team Leader

    A class file contains bytecode, you'll to decompile it to the source and the modify and recompile!
  3. sakthi.abdullah

    sakthi.abdullah New Member

    I decompiled into source code(I mean the java files)

    Now I cannot compile it seperately...

    Actually I tried like this in the cmd prompt.... I added required jar files in the classpath and compiled.. There is a statement like this "ClassNotFoundException x1" which gives an error - invalid declaration

Share This Page