How to use jdb.exe

I want to know how to use jdb.exe program
i want to use debugger so how i use this jdb.exe
plz reply me
byeee

I would suggest looking at the debugger in eclipse. www.eclipse.org
It is GUI based, much simpler to use and in many ways more powerful.

Similar Messages

  • How to use  jdb.exe tool

    i've come across the JDB.EXE tool provided by the JRE in some books., but could not practically implement it. how can i use this tool in order to debug my programs.
    i tried this utility by typing "jdb" at the prompt and strat running the program using the "run" command. i need a way to utilise this tool efficiently.

    Search the web. There are plenty of tutorials on the JDB, or Java Debugger.

  • How to use runtime.exe to activate the native file coping commands

    How to use runtime.exe to activate the native file coping commands.(It might include using process(), and such.. but how?

    Why would you want to do this? It's harder than copying the file in Java (by reading the file and writing it to a new file) and you'll need to write new code each time you want to port your code to a new OS.

  • How to Use java.exe

    I am embarassed to ask this question but I am very new to the using java.exe.
    Does anyone know of a document that outlines specificaly how to use java.exe. I have compressed my program into a jar file and am trying to run it from it's own directory. Whenever I try to run anything in the command promt I recieve this message:
    Exception in thread "main" java.lang.NoClassDefFoundError:
    What does this mean? How should I set up the files /class path to fix this problem ?

    Go to the New to Java forum and click on the FAQ. I think "setting up your classpath" is approximately number 1 on the list there.

  • How to use r3du3dexe.exe ?

    Hi,
    Anyone know how to use this .exe ?
    When I pass it a CAD file it creates a u3d file but its only a few kb in size and doesn't appear to have any content.
    I am trying to automate the creation of u3d files and the pdf files that they are embedded in and was hoping this would help.
    Thanks,
    Scott

    I would suggest looking at the debugger in eclipse. www.eclipse.org
    It is GUI based, much simpler to use and in many ways more powerful.

  • How to use jdb debugger.......?

    hi frnds.. iam develped the application Mulithreaded server which is going to handle the n number of client requests.Iam using the jdb run command to execute the application,i dont know how to use other commands....?can anyone tell the way

    JDB has a good documentation bundled with standard JSE distribution. But simple multi-threaded server code could be much easier to debug by you own eyes, I think.

  • How to use CCMDELCERT.EXE

    Dears,
    has anyone tried to use ccmdelcert.exe with SCCM 2007 to change current Duplicated GUIDs on PCs generated in the "Computers that may share the same SMS Unique ID" report...
    please explain how?
    appreciate your assistance
    M.Zakaria

    Worked like a charm.  Our image process has resulted in some conflicts, and the server was rejecting new clients (Client=No, Approved=N/A).  I also deleted the SMSCFG file.  Thanks for the post.
    net stop ccmexec
    ping -n 20 127.0.0.1 >NUL
    ccmdelcert.exe
    del c:\windows\SMSCFG.ini /F /Q
    ping -n 3 127.0.0.1 >NUL
    net start ccmexec

  • How to use ConvertWord.exe in LC Designer?

    I download the setup files (trial version) & installation is successful. And using ConvertWord.exe for converting my sample word doc into pdf format file. However, the generated PDF is not getting opened, as Adobe Reader says "it is either not a supported file type or because the file has been damaged ....". Following is the command executed in the command prompt:
    C:\Program Files\Adobe\Adobe LiveCycle Designer ES4>ConvertWord.exe in="C:\test\RESUME.doc" out="C:\test\resume.pdf" error="C:\test\error.log" log="C:\test\log.log"
    I even reviewed the error & log file, generated from above command. But didn't found any error details in the log files. Please suggest on where the issue is expected.

    This is the Adobe Reader forum; you better ask in http://forums.adobe.com/community/livecycle/livecycle_modules_and_development_tools/livecy cle_designer_es

  • How to use java2idl.exe

    Hi
    I am trying to use the java2idl program that comes with the Oracle 8i database and
    can find no information on how to use it.
    (appart from the 5 line help when you run it).
    Could someone please tell me how to use it and what files to run it on to generate the .idl file.
    Thanks
    Gavin.

    The idl2java, java2idl, and java2iiop tools developed by Inprise for their VisiBroker for Java product (release 3.2) are distributed with Oracle8i.The documentation can be viewed or downloaded from http://www.inprise.com.

  • How to use ifrun60.EXE in forms 6i in forms 10g ?

    I know If end user is going to run forms by double-clicking icons on his/her desktop (MS Windows operating system),so ..... creating a shortcut and point it to run the IFRUN60.EXE (Forms 6i executable) , will be good idea.
    "Target" will then look like this:
    C:\orant\BIN\ifrun60.EXE form_name.fmx scott/tiger@orcl
    that happened when we use Forms6i .... but when we use Forms10g ..... how we do the same ?
    as friend say to me , we suppose here to deploy the forms to web , but I want to deploy them to Local Network or at least to only my computer ...... so is there anyway to turn my computer to server and than deploy my forms ? or any solutions else ?

    In order to deploy forms successfully,not just to web,also to your local host.
    In your install oracle 10g directory:
    like C:\DevSuiteHome_1\forms\server\default.env
    So you have to configure "default.env" or create your file like "your.env" file,in the file,you have to set the path for running the form.
    If you set parameters correctly,you can put the URL into your IE or firefox.
    For example:
    I have an application "app".
    http://app:port/forms/frmservlet?config=default.env(If you use default.env)
    http://app:port/forms/frmservlet?config=your.env(if you use your define env).

  • How to use jdb sample of TTY?

    i am learning jdb (very new), when i compile and execute example of TTY, error says "handle is not available".
    i use windows. i think i miss something because TTy code tries to load a file in user directory, but i don't have the file - if this is reason, what is content of the file?
    thanks for all.

    I just compiled and ran the example source for jdb on my PC.
    Here is how I did it:
    % cd C:/j2sdk1.4.2/demo/jpda
    % jar -xf examples.jar
    % javac -classpath "$JAVA_HOME/lib/tools.jar;." com/sun/tools/example/debug/tty/TTY.java
    % javac -g HelloWorld.java
    % java -classpath "$JAVA_HOME/lib/tools.jar;." com.sun.tools.example.debug.tty.TTY HelloWorld
    Initializing jdb ...
    stop in HelloWorld.main
    Deferring breakpoint HelloWorld.main.
    It will be set after the class is loaded.
    run
    run HelloWorld
    Set uncaught java.lang.Throwable
    Set deferred uncaught java.lang.Throwable
    >
    VM Started: Set deferred breakpoint HelloWorld.main
    Breakpoint hit: "thread=main", HelloWorld.main(), line=3 bci=0
    3            System.out.println("Hello, world!");
    main[1]If this does not answer your question, please copy/paste the
    commands you are using and the full text of the error message(s).
    Then we will try to help you out.

  • How to use jdb for debugging a servlet?

    I'm using Apache/JServ with jdk 1.4 (via Textpad on win2K SP 3).
    The 'gospel' I'm trying to follow is:
    'Start the server manually and record the password for remote debugging
    (this is displayed on the console).'
    'Start the Java debugger:'
    'jdb -host your_host -password the_password'
    'You should be able to debug your Java classes now using the jdb
    command.'
    My problem is that I can't find the password from Apache.
    I normally start/restart apache as a windows Service.
    If I start it from DOS I get:
    'C:\orant9i\Apache\Apache>apache -k start'
    'Oracle HTTP Server Powered by Apache/1.3.12 (Win32) ApacheJServ/1.1
    mod_ssl/2.6.4 OpenSSL/0.9.5a mod_perl/1.24 running...'
    I've searched the log, conf & property files but can't find any password.
    I've also searched the Apache website for 'jdb' without luck.
    I've printed out (and read!) the 'Using Apache with MS Windows' manual.
    I did a Google:
    --Someone suggested starting Apache using using the -X flag, but I don't
    seem to have this option.
    --Someone else suggested changing jvm12.conf, but I don't have one.
    I have tried the following, just-in-case I don't really need a password,
    but it doesn't tell me a lot, and I would appreciate some help:
    JDB -sourcepath E:\javaPackages org.apache.jserv.JServServletManager
    C:\orant9i\Apache\Apache>JDB org.apache.jserv.JServServletManager
    Initializing jdb ...
    > run
    run org.apache.jserv.JServServletManager
    Set uncaught java.lang.Throwable
    Set deferred uncaught java.lang.Throwable
    >
    VM Started:
    Exception occurred: java.lang.ClassNotFoundException (uncaught)"thread=main", java.net.URLClassLoader$1.run(), line=199 bci=72
    main[1] list
    Source file not found: URLClassLoader.java
    main[1]
    Thanks,
    Peter.
    Posted to alt.apache.configuration, comp.lang.java, http://groups.yahoo.com/group/win-apache and
    comp.infosystems.www.servers.misc with no response

    Hello
    You wrote:
    I added the following to jserv.properties:
    wrapper.bin.parameters=-Xdebug
    wrapper.bin.parameters=-Xrunjdwp:transport=dt_socket,address=2930,suspend=n,server=y
    and it ran the servlet okay.Fine so far. This means your debugee VM is started and running. The "suspend=n" means it
    will start running without waiting for a debugger to attach... so you can attach later whenever you
    decide to debug. Note that 'later' could be weeks later, or possibly never.
    Now: Time to attach jdb to the victim/debugee process you started above.
    You wrote:
    But I get the following when I try to start jdb:
    jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=2930 org.apache.jserv.JServServletManager
    gives:
    Cannot specify command line with connector:
    com.sun.jdi.SocketAttach:hostname=localhost,port=2930,
    and
    jdb -attach localhost:2930 org.apache.jserv.JServServletManager
    gives:
    Cannot specify command line with connector: com.sun.jdi.SharedMemoryAttach:name=localhost:2930,The problem here is that you are trying to supply too much information to jdb.
    When you are using the attach connectors, all you need to supply is the
    host name and socket (for the socket connectors), or the name of the shared memory
    area (for the shared memory connector). The connectors you tried above are throwing
    an error because you are trying to supply something extra (the class name).
    When doing an attach, the debugee VM is already launched. The debugger will
    attach to it and inspect the classes loaded.
    If you are still running with the wrapper.bin.parameters you listed above,
    then all you need to connect with jdb is:
      jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=2930 You should get a jdb prompt, and you will be able to inspect the debugee
    VM by entering commands such as threads and classes. Typically
    the next thing would be to set some breakpoints (stop in package.class.method,
    or stop at package.class:line. Then restart the debugee with a resume.

  • How to use jdb comiler

    what is use of it .how do we work with this compiler

    Note: This thread was originally posted in the [Java Compiler|http://forums.sun.com/forum.jspa?forumID=7] forum, but moved to this forum for closer topic alignment.

  • How to execute a .exe file in java(Jsp) without using a process ???

    Hi All ,
    How to execute a .exe file in Jsp without using a process ??? ...
    Is it Possiable ????

    itsdhanasaraa wrote:
    But as this a web application ... By using Runtime i'm getting some probs ..
    Let me guess, you want your web application to run a program on the client and to your surprise that's not working?
    Ain't gonna happen.
    its taking more time to execute .... that's y is there any other option to execute .exe file other than Runtime.getRuntime().exec("filename");Write proper English and you may be taken more seriously.
    1) it's not "taking more time to execute", whatever that's supposed to mean.
    2) there's no other way to execute something. Not that you should every use even that way anyway
    3) whenever you start thinking of executing external programs from Java, start thinking of not using Java in the first place.

  • How to solve "Error: Invalid Embed directive in stylesheet - can't resolve source" while building using mxmlc.exe on command prompt

    Hi,
    Currently, I am developing a powershell script for Flex build automation.
    I found some problem and have been trying to search any references and tried any ways to fix it but It did not work.
    I am using compc.exe for compiling the libraries and it works fine.
    I compiled css files into swf files using mxmlc.exe and it works fine.
    However, I have a problem while building my main application (mxml file).
    It complains about embedded resources.
    I run this command, it works fine:
    "C:\Program Files (x86)\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe" "C:\{somePath}\FlashClient\src\styleLang.css" -output "C:\{somePath}\FlashClient_deploy\styleLang.swf"
    However, when I tried to run these command on cmd for testing:
    "C:\Program Files (x86)\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe" "C:\{somePath}\FlashClient\src\FlashClient.mxml" -load-config "C:\{somePath}\FlashClient\src\dump_config_temp.xml" -output "C:\{somePath}\FlashClient_deploy\flashclient_test.swf"
    I got a lot of this error message:
    this is my folder structure:
      FlashClient
      |
      |---assets
      |---src
          |
          |---FlashClient.mxml
          |---FlashClient.as
          |---FlashClientStyleLoopup.css
          |---styleLang
    Already tried to add / at the beginning of the relative paths but It did not work.
    Also tried to compile one of the image to a swc file and include it on the dump_config, but also did not work. something similar with Tech Diary: Flex : Solution to Error: unable to resolve '/assets/icons/icon.png' for transcoding using Embed tag
    Does anyone know how flex builder resolve the relative path to make the embedded resources work? or how to fix this?
    I've been trying to work on it for days but haven't had any luck.
    Will be really appreciate it if someone could help me with this.
    Many Thanks.

    Hi,
    make sure you are using 32 bit Java JDK. Check that your systems variables CLASSPATH, JAVA_HOME are pointing to correct 32 bit Java JDK folder (e.g. CLASSPATH=C:\Program Files (x86)\Java\jdk1.8.0_25 and JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_25). Also make sure you have 32 bit Java JDK's "bin" folder in your system's variable PATH.

Maybe you are looking for