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

Similar Messages

  • Adding .class files to your project and making them work.

    Ok, im fairly new to java and having trouble understanding how to make importing of .class files work. Im using eclipse 3.2
    I have the files in a directory and I have gone to project->properties->java build path->libraries->add external class folder and pointed it to the correct place.
    Now, I am trying to use some of the classes it provides. I get no errors when creating the object with this code:
    com.ECS.client.jax.ItemSearchRequest itemRequest = new com.ECS.client.jax.ItemSearchRequest();
    Before I did the add external class folder that code would error cause it didnt know what com.ECS was. Now it works fine. My problem is that when I try to use a class, it does not recognize it as a class. After doing the above code I have:
    itemRequest.setSearchIndex("Books");
    its giving me an error on the period, saying: "Syntax error on token(s), misplaced construct(s)". Its not seeing that it is a class, so I can't use it. But when I am creating the object I get no errors. For reference, here is the chunk of code:
    com.ECS.client.jax.ItemSearchRequest itemRequest = new com.ECS.client.jax.ItemSearchRequest();
    itemRequest.setSearchIndex("Books");
    the second line of which errors. So my question is, how do I get it to recognize that the itemRequest is a class when I have imported the .class files to my project already?

    It's working fine. It's just that you have to put your code in a method.

  • How to add class file to the project in netbean

    Hi,
    I am not sure if it is the right place to put the question. I just cannot find the way to add my existing java class file into the project in net bean.
    Anyone can help?
    Thanks a lot

    Look at the "classpath" entry on the Index tab in NB's Help. There are entries there that explain how to add existing classes and libraries to a project.

  • Adding a class file to JCOP project

    I'm trying to add a class file a JCOP project, I'm using a class folder.
    After the load commands I'm getting the following error:
    Error code: 6985 (Conditions of use not satisfied)
    Offending APDU: 6985
    Wrong response APDU.
    Is there any special configuration that I'm missing?
    Thanks,
    Uri

    Thank you very much for your help.
    >Where are you getting the error ?
    I'm getting the error at JCOP Shell after entire load (I think?):
    RefLocation.cap loaded (27 byte)
    Load report:
    434 bytes loaded in 0.9 seconds
    effective code size on card:
    + package AID 8
    + applet AIDs 15
    + classes 27
    + methods 129
    + statics 62
    + exports 0
    overall 241 bytes
    Error code: -4 (Malformed response APDU)
    Offending APDU: 69859000
    Error message: Invalid response length. Expecting delegated operation response
    jcshell: C:/Program Files/eclipse/plugins/com.ibm.bluez.jcop.eclipse.targetpack_1.0.3.3/lib/scripts/sim-simul-capfile-autoinstall.jcsh[58]: Wrong response APDU.
    jcshell: C:/Program Files/eclipse/plugins/com.ibm.bluez.jcop.eclipse.targetpack_1.0.3.3/lib/scripts/sim-simul-capfile-autoinstall.jcsh[58]: Unexpected error - script terminated!
    >Did you authenticate to the CM first?
    I think the shell does it automatically at the beginning of the script .
    > Is your class an applet?
    Yes, my class is an applet, but I�m trying to use(import) a regular class.
    >are you trying to perform any crypto?
    No
    >Is there a PIN required to perform any operation?
    I don�t think so.
    I got the applet and this class from third party. The strange thing is that when I compile and convert it using DOS prompt, I can load it successfully on a SIM, but it doesn�t work in JCOP, does it make any sense? I�m probably doing something wrong�
    Thanks again,
    Uri

  • Weblogic workshop 10gR3 - Very slow in building projects and throwing error

    Hi All. I am working in a portal project with weblogic 10gR3. I am using 4GB RAM machine with Windows XP and Intel Core2 T5600 processor. Whenever I build my set of projects, workshop takes very long time to build the project and at end of it throws "There was an error running some portal verification, not all validation complete". Please let me know anyone else faced the same issue.
    Things tried out by me:
    1. new domain
    2. workshop restart
    3. closing all applications other than workshop to allow more memory space for build process
    but nothing helped me on it. Please let me know if someone aware of the fix.
    regards.
    Nanda
    Edited by: Nanda on Jan 27, 2011 2:37 PM

    Hi Nanda -
    Are there any exceptions in the Error Log view in Eclipse, or in the <workspace>/.metadata/.log file that seem relevant? Also, which version of 10gR3 is this -- 10.3.0 or 10.3.2? You can check via the Help | About... item -- if it says it's Eclipse 3.5.0, then it's WLP 10.3.2; WLP 10.3.0 will say it's Oracle Workshop for WebLogic 10.3.
    How many projects do you have? What types are they? How many artifacts in each (e.g. .portlets, .portal, pageflows, ejbs, etc.)?
    You can also turn off Portal verification for now. Go to Window | Preferences | Validation, then uncheck the WebLogic Portal Validator and WebLogic Portal XML Validator boxes and hit Ok. You won't get warnings in the Problems view about .portals and .portlets, but you can see if it's part of the problem. Another general thing that pops up around performance is interaction with an underlying virus scanner -- if possible, try making sure your real-time virus scanner is skipping your project folders and your BEA_HOME.
    Greg

  • 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.

  • Extract in a file all deleted PROJECTS and WBS element

    hello everyone,
    i need  to create a file wich contain all projects and wbs element  deleted by the transaction CJ20 , but i dont know how to pick those data once someone is trying to delete.
    please help.
    thank you.

    hello everyone,
    i need  to create a file wich contain all projects and wbs element  deleted by the transaction CJ20 , but i dont know how to pick those data once someone is trying to delete.
    please help.
    thank you.

  • OTL time card: Which ldt file for US Project and Payroll

    Hi,
    I am trying to figure out which ldt file needs to be used to customize US Project and Payroll time card.
    Appreciate your response.
    Thanks
    Prasad

    Hi
    Shorten the name of ltd file XXHCC_EXT_014_hxczzhxclayt0073.ldt, because you can only have 30 characters for the name.
    Hope this helps!
    Thanks
    Gaurav

  • 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

  • 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-

  • Can´t import files or iMovie projects, and are unable to view on the canvas

    I have just gotten the Final Cut Express software, but i have unfortunately run into some problems:
    The biggest problem I am having is all my footage no longer works. When I go to import it into FCE, it gives me the error:
    "File Error: 1 file(s) recognized, 0 access denied, 1 unknown."
    This is also true for my iMovie projects: it gives me an error, and a list of the problems.
    I can view the video in the viewer, but when I export it to the timeline and try to view it via the canvas (to see if it matches the music), it says that the video is "unrendered". Is there another video format I should be using that would enable me to view this footage with the imported music in the canvas? Or must I re-render every time I make a change (which I am sure I shouldn't have to!)? I'm very new to FCE so I do not understand it fully.
    Thank you!
    Morten

    These are the properties of the files of twho of the camras i want to use to capture footage.
    The properties of the browser are here:
    Thanks a lot!!!
    Morten

  • 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 jar file and then run

    Dear Members,
    I have a jar file and I have decompiled that jar file and converted into class file,
    now I want to run/edit using source code ,I am unable to run source code with out put whatever coming in jar file running,
    I am trying with class in which
    public static void main(String[] args)
    function defined,
    I am using Jcreater1.5 and from command prompt also running but unable to run and edit the programm,
    how to run these class file in complete project that output will come as running jar file
    regards
    SACHIN

    It sounds like you have unpacked the jar.
    To edit the source you need to decompile the classes to .java files.
    [http://www.google.co.uk/search?q=java+decompiler]

  • 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.

  • Could not find .java and .class files...

    I am working on Windows Vista operating system.
    I am able to access the .java which I created and also .class files from the command prompt.
    But I am not able to find those files in the bin folder in Windows Explorer.
    I want to delete some .java and .class files. When I use the delete command on the command prompt , I am getting ---- could not find the file.
    Can anyone help me...

    Hey everyone,
    I found the answer!
    If the command prompt application is run as administrator(since it is windows vista), the created .java files as well as .class files will be stored and can be seen in the bin folder.
    However, I could not locate the .java files (and also corresponding .class files) which I created previously.

Maybe you are looking for

  • Error in webdynpro application

    Dear gurus. Im getting following error how to rectify it ? we don't have Basis guy so im also doing the basis stuff and im new in it . Error when processing your request What has happened? The URL http://sapr3dq:8000/sap/bc/webdynpro/sap/zsaptechnica

  • When I go to do a drop shadow, photoshop cc takes 17 seconds to pull up the window

    I just got Photoshop CC a few weeks ago.  It seems to be very slow, and I'm using a super fast computer with 32Gig of RAM, i7 Processor, SSD, etc... Photoshop in particular, is REALLY slow.  For instance, when I go to Layer, Layer Style, Drop Shadow,

  • Could it be

    so let's say, hypothetically speaking, i've my ipod has fallen on the ground a few times. is this an irriversable problem and could it be why my songs will no longer upload? i've done everything already, trust me.

  • Playing a movie..

    Hello all, I am building a game for my daughter and am setting it up to when she clicks on the correct a movie comes up and plays a "congratulations" or a " good job clip. The problem is that when the program calls for the movie it does not play the

  • Can't click inside td or tr ???

    This is annoying. When I click inside a cell or a row on SOME tables, the entire table is selected. I just want to place the cursor inside the <td> so I can either enter text or insert a graphic. I know there are machinations I can accomplish this (c