Decompile Class files

Hello,
Has anyone decompiled the class files given by Oracle. I want to know if they worked fine. I would also like to know what decompiler you used. Mocha???
I trying to convert PublicListsTableCO.class given by Oracle to PublicListsTableCO.java using Mocha.
Thanks

Hi,
The Jad Decompiler is working fine.
Adi

Similar Messages

  • Decompile class file

    i wrote the program for my friends to use
    i dont want them to see the source code
    but people can download decompiler from the web...
    so they are joking that java programmer is the open source editor
    it is not good if we want to write a commercial software
    does anyone know what to do when distributing a jar file to others?
    (dont want people to decompile the class file)

    Please search the forums, this has been asked and answered many times.

  • Decompiling class file

    Hi all,
    I have found an applet which I would like to modify, but the jar file contains only the class files, preventing me from making changes to the applet code. Is there any way I can make changes to the applet code? i.e. by decompiling the class files?
    I am using the code for non-commercial use, so there's no concern over copywrite.
    Thanks,
    David.

    > I am using the code for non-commercial use, so there's no concern over copywrite.
    So then have you contacted the author? Maybe they'd be happy to give you source. Or not.
    -slj-

  • Decompiling Class Files, re-building project and redeploying

    Hi
    I need to make changes to an existing customized iview.
    I have downloaded the par file, but src.core is empty.
    I have then downloaded the jar file which I proceeded to decompile with DJ Java Decompiler.
    Pls can somebody explain to me how I now include these files into a project and rebuild the par file so that I can make changes and test.
    thanks in advance
    Anton Kruse

    hi,
    Check the par file structure here:
    http://help.sap.com/saphelp_nw70/helpdata/en/bb/1bb8428e05c86ae10000000a155106/frameset.htm
    You have jar file in folders:
    lib -- Contains all application library files (JAR) that can be referenced by other portal applications
    private/lib -- Contains all application library files (JAR) that are used exclusively by the application.
    So all <b>src.api</b> classes are put in <b>lib</b> folder, and src.core into private/lib.
    If you are decompiling a jar, you should check from where you got it. (<b>lib</b> or <b>private/lib</b>). So place it back from where you took it.
    Greetings,
    Praveen Gudapati

  • Decompiling class files using JDev?

    Is this possible? If so, how?
    If not, does anybody know of any extensions written for JDev which uses JAD or any other decompiler?
    I would prefer the extension to be JDev 10.1.3 compatible.

    Is this possible? If so, how?
    If not, does anybody know of any extensions written for JDev which uses JAD or any other decompiler?
    I would prefer the extension to be JDev 10.1.3 compatible.

  • Decompiling of class files

    Why is it possible to reverse engineer or de-compile .class files. Is there an easy workaround for this problem that does not require buying expensive software to compile a java program into platform-specific form?

    it is possible to decompile .class files because JRE has to be able to read and parse and understand your code... (i mean your bytecode that you have got from compiler)
    if you want to protect your code from being decompyled and reused by your competitors, then you should odfuscate your code...
    (examples of obfuscated C code my be found from http://www.ioccc.org unfortunatelly i don't know if there is such thing for obfuscated java code anywhere)
    this doesn't make your code unusable for others, but makes it bit more difficult to reuse your code.
    i personally see no reason why i should keep in ecret what my programs source looked like, but you may have your reasons... so i dodn't judge you...
    well... i just rememberd that as a homeassignment i had at school to write some program... and i just had found one decompiler... so i looked up a program from internet that did exactly what i had to do and decompiled it....
    i couldn't use it because it had used lot's of private variables that where named byte1, byte2, ... and so on... and in every method they these same names for different variables...
    so the code was unusable for me, allthough it comiled with no errors
    another way to make your code less usable for others is to write it in your own language 8if your native language is english then using it would not misslead others too much, but i have found some chinese code that had variable names something like "katakana" etc. and also some comments that were no use for me... (since i dond't understand chinese, not even if it's written with lattin letters)
    also you might want to look from internet for articles that explain how to write unmaintainable code...
    http://mindprod.com/unmain.html
    but in such case you'd be out of luck when you have to debug the same code after some weeks... :P
    i hope that you got some ideas of some things related to your question...
    L.

  • How to uncompile a .class file?

    I have a servlet class file. I want to know how to uncompile into into a .java file. I tried javap command but that showed a "No source" message. Any clues?

    u can download freeware from the web that can decompile class files to their .java files. The problem with that is that if an abfuscator is used to hide the variable names, then the variable names in the obtained class file will have no meaning.

  • How to decomplie a java class file when java application is running/launch?

    I have a simple java application with some components being displayed, now i need to get the components instance names that are been created in that java application. How do i do that?
    Eg: Button b1 = new button();
    now how to write a java application to decompile this class file & return me the button instance ie "b1".

    I think you wanna do two different things:
    1. find out which objects were created at runtime.
    2. decompile class file.
    I'm no so sure why.
    have you tried insrospecting the class using reflection ?
    Here is a code snippet that prints class field names.
    try{
      Class c = Class.forName("MyClass");
      java.lang.reflect.Field[]  f=    c.getFields();
      for (int i = 0;i<f.length; i++)
           System.out.println(f.getName());
    catch(Exception e){ }
    Regards
    Joseph.

  • Need help with a class file!

    How do you decompress or decompile a class file??? I just can't seem to get it...

    One program is called JAD...
    Also the jedit program has a plugin to decompile class files.
    http://www.jedit.org
    Uwe

  • How to convert java class file version without decompiling

    Hi,
    Oracle R12.1.3 i am having illegal access error while try to access the class file version Java 1.3 uses major version 47,So how to convert the class file version without using decompiling.
    Current java version is 1.6.0_07
    Is there any tool or API for converting class file version?
    Thanks,
    Selvapandian T

    Beside this I wonder where you get your error from since AFAIK 12c comes with java 1.6.
    Well wonder no more!
    OP isn't using Oracle 12c database.
    They are using Oracle R12.1.3 - which is the E- Business Suite.

  • How to restrict the .class file from decompilation

    Hi all,
    i got a security problem. i need all the java class files to be most secured. is there any to restriction on the java class files from decompilation. is that possible?. pls help me out. it's very urgent
    thanks in advance

    You can make it harder to understand the decompiled code if you use an obfuscator. (I don't have links to any, do a google search, or search these forums, it have been discussed here previously.)
    You cannot completely prevent decompilation, though. Obfuscating does not for example not mean that any passwords you have hardcoded in the source is secure.

  • Secure the class-file - Make decompile impossible?

    Hi everybody!
    I have "basic" (?) question concerning Java-Class-Files.
    As our company is currently developing an Web-Intranet-Solution, we have to give the source-Code (class-files, jsp-pages and the jar-files) tio the customer.
    But our problem is, that we do not want him to be able to read the source or manipulate it. Now it is very easy to do so, I am just thinking of jad - a java decompiler, for example...
    How can we prevent this?
    What are common approaches for this problem?
    Thx in Advance!
    Stef

    You will be better off using obfustacting softwares, rather than customized class loader with encrypted classes as the nature of bytecodes will leave the decompiling process with an intercepting point always. Thaw will make the decompiling trivial regardless of the encryption strength you use.
    For obfuscation, Proguard is a GPL one, and Retroguard is suitable for commercial shipments, but I suppose there are more than a bunch of them out there, which I am not aware of.

  • Decompile JAR , Update .Class file , Compile?

    Is it possible to decompile a excutable JAR file, update the .class file and compile it again?
    I'm using DJ Decompile software.
    Need your expertise.. =P

    Well, you wouldn't decompile the jar. You'd basically just unpack it, and then you'd decompile the classes inside it, and then you'd update the .java file, and then recompile the source code files and repackage it into a new jar.
    But otherwise, yes.
    There may be a variety of better options though. For example, maybe you could create a single new class that replaces or wraps a single class in the jar, and then create a new manifest file with the Main-Class attribute pointing to your new class. Or with any luck you could get the original source code. Etc.

  • Preventing decompilation of class files

    Hi,
    I tried yesterday running a decompiler on my .class files, and was shocked to see the result - it was amazingly similar to the original code, and very easy to understand...
    Is there any tool or way to prevent using a decompiler on your .class files, or to make sure the results of running one are not clear? Otherwise it seems like you can just as well send out your original source files.
    Thank you,
    Nir.

    "Otherwise it seems like you can just as well send out your original source files."
    Which is something you might want to consider. I doubt you have coded something so extraordinary, that you should have to protect it?

  • Junk values when decompiling the class file

    Hi All,
    When i decompiling the class file , i am getting junk values i.e <file>.class$java.lang.string and _mtclass$("java.lang.string").
    I am using JAD for decompilation .
    Can any body help.. how remove the junk data

    ya and better part being that its an issue with the tool used for decompilation. Nothing specific to OAF here. Any class file will behave in the same way to this tool.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Can we restrict deliveries at plant level for a particular period

    Hi all, At month end , if we want to close the sale, and restrict all the delievries in that month for a particular plant.. will that be possible, if yes how? can anyone advise.

  • Trying to link 2 e4200 routers together on same network via a switch

    I have had my internet working fine for a long time with e4200 routers joined together via a 5port switch in the middle of the house. I have not ever been able to see computers however hooked from one router to those hooked to the other router. I hav

  • How to bypass proxy when trying to send a mail using javamail smtp

    Hi, I am trying to make a servlet send a mail using javamail smtp protocol on port 25 but i m not able to send getting an exception, i suspect proxy is blocking, so any idea anyone how bypass a proxy.

  • Dynamic image report not working

    Hi, I am trying to create a report which has a dynamic image. - the report has a parameter: {?image_path} - user specifies the image location (ie. c:\image1.png) - the report take the image location as a parameter and change "graphic location" of the

  • Passing Record Values to Obiee Maps

    Hi Users, I'm using Obiee10g. My Report has following columns: EMPLOYEEID, EMPLOYEE NAME, DEPARTMENT NUMBER, MANAGER, LOCATION, LATITUDE, LONGITUDE I Need to pass this values to ESRI Team who will be responisble to Generate maps and design for it. Th