lib: moved mimedump.h from tools/ into the library (mimeio.h)
[barry/progweb.git] / doc / bjdwp / README
blobb083511fce0637f266c6d45e40438b0c61f4388e
1                                  BJDWP Readme
2                                 ==============
4 Introduction
5 ------------
7 With bjdwp you can debug with JDB your Java applications on your BlackBerry device.
8 bjdwp is a wrapper between JDB and the JVM embedded in your device.
9 bjdwp uses the barry library to comminucate with your device.
12 Table of contents
13 -----------------
15 1. Note
17 2. Requirements
19 3. Compilation
21 4. Usage
22  4.1 Command line
23  4.2 Options
25 5. Status
27 6. Licence
30   
31                           ==========================
34 1. Note
35 -------
37 The JDWP application to debug Java applications for BlackBerry is currently being developed
38 on Linux. This driver can do damages. Use this application only if you know what you are doing.
41 2. Requirements
42 ---------------
44   - Barry and libbarry 0.15 or higher (with JavaDebug mode support)
45   - cmake
48 3. Compilation
49 --------------
51   $ ./configure
52   $ make
53   
54   To run the application, launch the binary in the "bin" directory
56   $ cd bin
57   $ ./bjdwp
60 4. Usage
61 --------
63 4.1 Command line
65   1°) Plug your BlackBerry device
67   2°) Run bjdwp wrapper 
69     $ bjdwp localhost 8000
71   3°) Run JDB
73     $ jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000
76 4.2 Options
78   bjdwp accepts the same options that the tools btool, bjavaloader...
80     bjdwp [hpPv] <address> <port>
82      -h        This help\n"
83      -p pin    PIN of device to talk with\n"
84                If only one device is plugged in, this flag is optional\n"
85      -P pass   Simplistic method to specify device password\n"
86      -v        Dump protocol data during operation\n"
89 5. Status
90 ---------
92   bjdwp isn't usable.
95 6. Licence
96 ----------
98   bjdwp application is distributed under the licence GPL.