Adblock breaks this site

How can i edit a .class file

Discussion in 'Programming General' started by TunaMan, Sep 19, 2009.

  1. TunaMan

    TunaMan Newcomer

    Joined:
    Sep 19, 2009
    Posts:
    1
    Referrals:
    1
    Sythe Gold:
    0
    How can i edit a .class file

    I have some problems coding myself a script... so i want to take another script(almost the same with what i want to do) and i need to edit it.
    Just 2-3 id's that i need to change...
    Also... i have a .java file for that script... but i don't know how to make it .class... already tried some "java compilers" but that didn't worked :(


    Please help me :)
     
  2. ssylass

    ssylass Guru
    Banned

    Joined:
    Sep 7, 2008
    Posts:
    1,120
    Referrals:
    2
    Sythe Gold:
    0
    How can i edit a .class file

    you edit the .java then use a compiler, theres no other way.
     
  3. SuF

    SuF Legend
    Pirate Retired Global Moderator

    Joined:
    Jan 21, 2007
    Posts:
    14,212
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary
    How can i edit a .class file

  4. Jimmy

    Jimmy Ghost
    Retired Sectional Moderator $5 USD Donor

    Joined:
    Jun 24, 2008
    Posts:
    2,421
    Referrals:
    10
    Sythe Gold:
    25
    How can i edit a .class file

    Bytecode editor?
     
  5. SuF

    SuF Legend
    Pirate Retired Global Moderator

    Joined:
    Jan 21, 2007
    Posts:
    14,212
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary
    How can i edit a .class file

    Oh... The person doesn't even know how to compile... Technicalities are pointless. Lol.
     
  6. super_

    super_ Member

    Joined:
    Dec 20, 2008
    Posts:
    91
    Referrals:
    0
    Sythe Gold:
    0
    How can i edit a .class file

    How do you edit any file?
     
  7. d great one

    d great one Apprentice

    Joined:
    Nov 4, 2007
    Posts:
    930
    Referrals:
    2
    Sythe Gold:
    0
    How can i edit a .class file

    to compile, you need the jdk. install it in your computer, then, you can use the command prompt.

    in command prompt this is the syntax.

    javac [location of your file, but if your java file is in the bin folder, no need to put location]filename.java
     
  8. deathbal sam

    deathbal sam Apprentice
    Banned

    Joined:
    Sep 25, 2008
    Posts:
    754
    Referrals:
    0
    Sythe Gold:
    0
    How can i edit a .class file

    Wait do u want to decompile it?
     
< my basic text editor project | Migrating to C++ from Pascal/SCAR/Delphi? Look here for a cool trick. >


 
 
Adblock breaks this site