How to debug byteCode? Can cap file convert to java source file?

Are there tools can debug byteCode?
Are there tools can convert cap file to java source file?
Are there tools can convert jca file to java soure file?

I think it's little bit difficult to give you a correct answer. Frankly speaking, cap file debugging is possible if you have sufficient devices and knowledge to do that. Converting cap file to java source code is also possible only if the cap file has descriptor component in it. Names of variables, functions will not be completely restored because cap file doesn't have the names in it. But I am not sure that there is a publicly opened tool to do that. JCVM chapter 6 may show you the way even it's not the direct one.

Similar Messages

  • Error running batch files from java source file???

    Dear Friends,
    hi,
    this is with response to a doubt i had earlier ,
    i want to run batch files from the java source file ,i tried using this code (here batrun is the batch file name that contains commands to run other java files)
    try
    String [] command = {"c:\\vishal\\finalmain\\batrun"};
    Runtime.getRuntime().exec(command);
    catch(Exception e)
    but i got the following error.
    java.io.IOException: CreateProcess: gnagarrun error= 2
    plz. help me, i tried all combination w/o success,
    in anticipation(if possible give the code after testing)
    Vishal.

    hello there,
    i solved the prob. by using
    cmd /c start filename ,but i need to pass parameters ie
    cmd /c start java "c:/vishal/runfile a b" where a and b are the parameters. but it is not accepting this in Runtime.getRuntime.exec(),
    any solutions ?????????
    regards,
    Vishal

  • How do I get the ability to convert my word .doc file to flashpaper?

    How do I get the ability to convert my word .doc file to
    flashpaper?
    I had cs3 installed but I just installed MS word 2007 and the
    ability to export to flashpaper is not available that I can see.
    Do I have to reinstall contribute in order for it to install
    the flashpaper exporter to word?
    -Line

    If I understand you correctly, you need to Scale and Position each clip.  These are part of the inherent Motion effect attached to every clip, found in the Effects Control Panel.

  • How can I share a *.java source file across multiple projects in NetBeans?

    I'm sure this simple and a pretty common operation but how can I share a *.java source file across multiple projects in NetBeans? Right now I keep cut, coping and pasting the same source file between multiple projects to re-use the same code. But I could I make this source file a library file or something like that so that I could access it from any project. I assume this would be a generic operation but I mentioned NetBeans for clarity. Thanks.

    fiebigc wrote:
    I know I mentioned NetBeans but I'm most interested in the generic method for creating a library of source files that I can call into whatever program I am developing. I've done such a thing in C using header files and such but I'm trying to get a direction on how this is accomplished in Java. I'm sorry if I could edit the title I would. If anyone wants to be specific about NetBeans I welcome that too.
    Edited by: fiebigc on Jun 20, 2008 5:57 PM
    >I know I mentioned NetBeans but I'm most interested in the generic method for creating a library of source files that I can call into whatever program I am developing. I've done such a thing in C using header files and such but I'm trying to get a direction on how this is accomplished in Java. I'm sorry if I could edit the title I would. If anyone wants to be specific about NetBeans I welcome that too.
    Edited by: fiebigc on Jun 20, 2008 5:57 PM
    Create a class library.
    Write your code, compile it to .class files, put those class files in a .jar file and include the jar file in the classpath whenever you want to compile a project against it.

  • Why can I not convert pdf into word file?

    why can I not convert pdf into word file?

    This is not a feature of Adobe Reader. You'll need either Acrobat or a subscription to one of the web-based services that Adobe offers (like PDF Pack) to do it.

  • I re installed my original software and now I don't know how or if I can retrieve all my old pics and files!!  please help i have a mac osx 10.5.4

    I re installed my original software and now I don't know how or if I can retrieve all my old pics and files!!  please help i have a mac osx 10.5.4!!!

    Not sure I understand how Migration Assistant is doing anything. I thought MA was for connecting your computer to another computer or volume and transferring files. I'm just not sure how you're using it. Like I said earlier, everything you do on your Mac overwrites more of what data may have been recoverable if there even was any. Not to kick you when you're down but this is exactly he kind of a situation where a time machine or other back up would have saved you a lot of heartache. I'm sorry but I don't think I can be of any help :-(

  • Where can i find the BI Java Connector Files (for example: bi_sdk_jdbc.rar)

    Hi,
    where can i find the BI Java Connector Files:
    bi_sdk_jdbc.rar
    bi_sdk_xmla.rar
    bi_sdk_sapq.rar
    bi_sdk_odbo.rar
    Can anyone help me?

    hi Christian,
    these files should be included in bi java sdk
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/78b3db58-0501-0010-b895-f75cd8fdf674 [original link is broken]
    hope this helps.

  • Parser converting java source file

    I want to build a parser, which reads a java source and adds stubs at the start and end of a method, which might be for a public/protected/private method.
    This public/protected/private keyowrd , and source file will be passed as command line arguments to the parser.
    The generated output java source file should be similar to input source file with stubs.
    For example , we have a java source file( A.java) file as specified below
    class A{
         public m1(int m1_a, int m1_b){  }
         protected m2(int m2_x, int m2_y){ }
         private m3(int m3_p, int m3_q) {  }
    parser public A.java;
    after parsing it should generate output source file as A.JAVA as specified below
    class A{
         public m1(int m1_a, int m1_b)
    {  System.out.println(" start of "A:m1"" +  time: +"parameters:" +" a="+a ," b="+b)
         System.out.println(" End of "A:m1"" + time: +"parameters:" +" a="+a ," b="+b)
         protected m2(int m2_x, int m2_y){ }
         private m3(int m3_p, int m3_q) {  }
    Are there any tools , example programs , tips on the above problem .
    Anticipating help at the earliest

    HI dcminter,
    I am not talking about performance tuning,
    I need to build a program ( tool) which add System.out.println() statements as specified above for specific methods ( which might be public/private/protected ) which will be passed to the parser along with the java source text file.
    This program(tool)should only convert from one java source text file (A.java) to another java source text (A.JAVA) file , by adding the extra System.out.println() statements.
    Please help in this regard about any sample or tool or tips in solving.
    Awaiting for ur reply
    --gvr123                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to find dynamically the current line number in the source file

    Is there a mechanism like __LINE__ and __FILE__ macro in C to get dynamically
    the current line number and file name of a source file?

    Don't know - but others have asked too. Have you searched the forum? For example:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=210496

  • Getting all the members (variables, methods AND method bodies) of a java source file

    For a project I want to programmatically get access to the members of java source file (member variables, methods etc) as well as to the source code of those members. My question is what is the best method for this? So far I have found the following methods:
    Use AST's provided by the Java Source API and Java Tree API, as discussed in the following posts:
    http://today.java.net/pub/a/today/2008/04/10/source-code-analysis-using-java-6-compiler-apis.html
    http://weblogs.java.net/blog/timboudreau/archive/2008/02/see_java_code_t.html
    http://netbeans.dzone.com/announcements/new-class-visualization-module
    This has the disadvantage that the classes actually have to be compilable. When I look at the Netbeans Navigator view however, it provides me with a nicely formatted UI list, regardless of the "compilable" state of the class.
    Thus I started looking at how to do this... The answer appears to be through the use of tools such as JavaCC: https://javacc.dev.java.net/
    ANTLR: http://www.antlr.org/
    which are lexers and parsers of source code. However, since the Navigator panel already does this, couldn't I use part of this code to get me the list of variables and methods in a source file? Does the Navigator API help in this regard?
    Another route seems to be through tools such as
    BeautyJ: http://beautyj.berlios.de/
    which run on top of JavaCC if I am correct, and which has the ability to provide a clean view on your java code (or an XML view). However, BeautyJ does not seem to be too actively developed, and is only j2se1.4 compatible.
    I hope someone can shed a light on the best way to go about what I want to achieve. Somebody already doing this?
    (I crossposted on the Netbeans forums too, hope this is OK...)

    I'm currently developing a LaTeX editor(MDI) and I do the same thing, but I don't know what exactly do you need.

  • Translate java source file

    Dear Friends,
    Does anybody know how to translate java sources file and get all the info from it.
    Like i want to write a parser and want to extract its details and store in datastructures.
    Any similar examples present or any suggessions please inform.
    Thanks in advance.

    there is a tool called javacc which generates parsing code. You can also google for "javacc grammar repository" to find a java grammer you can pick up and start using

  • More than one class in single java source file?

    Is there a way to define more than one class in single java source file?
    I get a duplicate class definition error for each extra class, but I am sure there is a way to handle this in JDeveloper.
    Anyone knows how ?

    Please post the question in jdeveloper forum at
    JDeveloper and ADF
    for quick response.
    Regards,
    Anupama
    http://otn.oracle.com/sample_code/content.html

  • Forte compile error java source files must have a .java suffix

    Hello Guru's,
    I am using Forte for Java release 2.0 build 1160, and Java SDK 1.3.1.
    When I try to compile a project in Forte I get the following error :
    "fastjavac: java source files must have a .java suffix C:\Program"
    I have looked at the source files and they do hav .java suffix!
    If this is not the correct form can someone point me in the right direction. If this is a correct forum then help is very much appreciated.
    Cheers...Harki

    Hi,
    Try to compile like this:
    javac yourfile.java
    Hope this helps you.
    Cheers.....Dinesh

  • Java source file compare

    Hi @ all!
    I am looking for a tool which can compare two java files and tell me if they are differ or not.
    Have a look at the example below:
    These two files are NOT differ, because they do the same.
    public class Hello{
      public static void main(String[] args){
           System.out.println(HELLO_STRING);
      public static final String HELLO_STRING="Hello World!";
    public class Hello{
      public static final String HELLO_STRING="Hello World!"; 
      public static void main(String[] args){
           System.out.println(HELLO_STRING);
    }Thanks for your help!
    so long!
    Knoppers

    Ceci is correct. Though, I do not think a tool (other than a full-blown compiler) would be able to assist you. I would compare the Java class files, rather than the source files. Even then, two 'different' class files may execute the same way.
    - Saish

  • JSP/Java Source Files

    Where can I obtain the Java source files that create Oracle JSP pages? I'm trying to make changes to a quoting screen and there seem to be all these Java helper classes that create the actual page. I was able to find the class files on the server, but I'm not sure where to obtain the java files. Thanks.

    Hi,
    In your case you have two options.
    1) To verify if the source files was packaged with .war/ear files and change it.
    2) If the file is a JSP file get the .class generated by your oc4j and to use a decompile in this file, but this solution is not recommended, because the .java generated is not 100% compliance with the original file(JSP). If the file isn't the JSP file, use the same decompile, but the result is the same.
    Afonso

Maybe you are looking for

  • Report Document.Load Method Hangs

    The following code is an exceprt from an asp.net web application we developed.  The report file (TestReport.rpt) file was designed using a 'manually' created schema (xsd) that mirrors the structure of pApptDT. The .xsd file has no DB connection info

  • The configure database page not appear in grid control

    hi when i try to configure a database target in grid control appear a error . i know that the nslookup not working correctly because these machines not adding to dns server it's possible communication between oms and agent whithout an dns server, onl

  • Best practices for making space on hard drive?

    My relatively trusty ol' 466 mhz G4 is bogging down. I am showing 9.77 GB out of 28.6 capacity. I have the Adobe CS programs and do a lot of Photoshop work. I decided to clean house and dump as much stuff as I can, including the older programs (Adobe

  • AFS Third Party Sub-contracting Through MRP

    HI Guru, I am working on SAP AFS 6.0 system. I am having one material which is always gets subcontracted from Vendor A1. the components of header material are supplied by Vendor X1 to Vendor A1. Based on the requirement of Header material MRP generat

  • View source etc. in any site

    I  want to use Dreamweaver cs6 in web development as I can use Firefox web developer:I.e. loading a page from any Site - eg www.adobe.com - and then inspect the elements on that page, looking at the source, pick out the css relevant to that element e