RIM BlackBerry JDE tutorials

I know there is a tutorial to use Eclipse to develop and simulate BlackBerry applications.

Y at - it tutorials that illustrate how to use the RIM BlackBerry JDE [outside the menu [help]?

I get the following error:

UserInterface building...
...
I/o Error: Cannot run program "javac": CreateProcess = 2 error, the system cannot find the file specified
Error while building project

When I Isaiah to compile my project using RIM BlackBerry JDE v4.2.0.98.

I can not really understand what I'm doing wrong.

Any advice?

Thank you

If your issue is resolved, please define brand 'Solution?' on the post that contains the answer to your question.

Concerning

Bika

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry JDE Build Error - new installation - Hello World

    I'm new to the Blackberry development.  I was able to get Eclipse works without any problems whatsoever and I built a few sample programs and one of my own.  However, it seems to me that RIM Blackberry JDE has some nice features for the visualization of information specific to Blackberry batteries, memory statistics, etc. Then I tried to get the RIM Blackberry JDE 4.5 and 4.7 installed so I can revisit.  I had some problems installing a reason any.  I've gotten past these problems, but I'm starting to get the headache trying to build "Hello World".

    What would someone mind helping me resolve the error of next generation for 'Hello World '.  It will probably take something simple and I feel stupid, but I have to finish reviewing the RIM JDE so I can select my development environment and begin to develop.

    Building helloworld
    D:\Program Research In Motion\BlackBerry JDE 4.5.0\bin\rapc.exe-silencieux import ="...... \.. \Program Files\Research in Motion\BlackBerry JDE 4.5.0\lib\net_rim_api.jar"codename = helloworld helloworld.rapc warnkey = 0 x 52424200; 0 x 52525400; 0 x 52435200 D:\Temp\HELLO\helloworld\com\rim\samples\helloworld\HelloWorld.java
    I/o Error: Cannot run program "javac": CreateProcess = 2 error, the system cannot find the file specified
    Error while building project

    Thanks in advance!

    (You must make sure that) that you have installed a suitable JDK, and (b) in the JDK bin directory is in your Windows PATH environment variable.

    Open a command window and type javac

    If it is not found, the JDE cannot find it either.

  • How to write a program that allows an HTTPs connection to the APACHE TOMCAT server in blackberry JDE

    Hello.. I am very new to the blackberry JDE environment. But then, I have a project in which I should write a program that will make an HTTPs connection to the apache tomcat server using blackberry JDE. The simulator which I use is 8330-JDE.

    Here is my code...

    import java.io.IOException;

    Import java.io.InputStream;

    Import javax.microedition.io.Connector;

    Import javax.microedition.io.HttpsConnection;

    Import net.rim.device.api.ui.UiApplication;

    Import net.rim.device.api.ui.container.MainScreen;

    public class Httproto extends UiApplication

    {

    public public static void main (String [] args)

    {

    Httproto instance = new Httproto();

    instance.enterEventDispatcher ();

    }

    public Httproto()

    {

    pushScreen (new HttpsConnectionScreen());

    }

    }

    final class HttpsConnectionScreen extends screen

    {

    public HttpsConnectionScreen()

    {

    HttpsConnection c = null;

    InputStream is = null;

    int rc;

    try {String url =

    "https://192.168.2.3: 8443/cit/j_acegi_security_check? j_username = sanogo & j_password = redhat;

    c = (HttpsConnection) Connector.open (url);

    c.setRequestMethod (HttpsConnection.POST);

    System.out.println ("connection is open with the server");

    Get the response code is open the connection,

    Send the request and read HTTP response headers.

    The headers are stored until asked.

    RC = c.getResponseCode ();

    System.out.println ("response from the server" + rc);

    if (rc! = HttpsConnection.HTTP_OK) {

    throw new IOException ("HTTP response code:" + rc);

    }

    is = c.openInputStream ();

    Get the ContentType

    The string of type = c.getType ();

    The length and process data

    int len = (int) c.getLength ();

    if (len > 0) {

    int actual = 0;

    int BytesRead = 0;

    byte data = new byte[len]; while ((bytesread! = len) & (real! = - 1)) {

    real = is.read (data, bytesread, len - bytesread);

    bytesRead += real;

    }

    } else {}

    int ch;

    while ((ch = is.read (())! = - 1). {

    }

    }

    } catch (ClassCastException e) { throw new IllegalArgumentException ("not a HTTP URL");}

    }

    catch (IOException ioe) {}

    finally {

    Try

    {

    if (is! = null)

    is. Close();

    if (c! = null)

    c.Close ();

    }

    catch (IOException ioe) {}

    }

    }

    }

    When I run this program in the Simulator, I can do nothing. Please correct me if I'm wrong in coding.

    As I am new to this blackberry JDE environment, ideas and suggestions on how to write and run the sample applications in the blackberry are more welcomed.

    Concerning

    Hinduja

    Make sure that your MDS starts when the Simulator starts.  In the JDE will in Edition > Preferences > Simulator > General and click the checkbox "launch Mobile Data System connection with Simulator Service.

  • Help me! Class 'net.rim.blackberry.api.homescreen.HomeScreen' not found!

    I use HomeScreen to change my default application icon. But message: class 'net.rim.blackberry.api.homescreen.HomeScreen' not found. Help me. Thank you!

    do not use applications built with jde 4.7 on simulators (or devices) with a lower OS.

  • Add a notification icon in the status bar in Blackberry JDE 4.5.0

    Hi all

    I write a java application in Blackberry JDE 4.5, which will begin to listen to some event during startup. I want to display a small icon in the status bar

    I know that his support in version 4.6.0 of the BlackBerry API set of classes ApplicationIcon, ApplicationIndicator and ApplicationIndicatorRegistry but what classes exist in the set of API BlackBerry JDE 4.5.0?

    I think that some support is there for 4.5.0 as I m using Blackberry Pearl 8100 with OS v4.5.0.81 which displays Notification icons in the toolbar State for incoming messages or calls.

    Hi shreyasb,

    I don't think that there is an API for this for 4.5 and below. Your Pearl 8100 with OS 4.5 can display the icon notification such as incoming messages and calls because they were developed using the internal API of RIM which are not exposed to third-party developers.

  • TFLN startup error: class 'net.rim.blackberry.api.homescreen.HomeScreen' not found

    I am beta testing my app and it works fine for me in all simulators and a 9530 Storm. But one of my beta testers reported the app doesn't launch and gets the error:

    TFLN startup error: class 'net.rim.blackberry.api.homescreen.HomeScreen' not found

    I can't imagine how that could happen. Any ideas? Thanks in advance.

    DentateGyrus wrote:
    The user's phone is "BOLD" with the OS update for it. He didn't give me a version number, but I guess than 4.6. It was compiled in 4.7, but works perfectly well in the "BOLD" Simulator.

    An application built in version 4.7 is not compatible on the 4.6 version.  Please refer to the following.

    What is - an appropriate version of the BlackBerry JDE
    Article number: DB-00537

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/What_Is_-_Appr...

  • How to run SQLite on Blackberry JDE 5.0... ? Simulator of

    Hai,

    How to run SQLite on Blackberry JDE 5.0... ?

    Is it really need all jde settings? for sqlite running applications?

    I use the source-

    class InnerClassScreen extends form {}
         
    sqliteDB public database;
    public InnerClassScreen() {}
                
    LabelField title = new LabelField ("Create DB application",
    LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH);
    setTitle (title);
    Add (new RichTextField ("initialize db create process..."));
                
    try {}
    URI uri = URI.create)
    "file:///SDCard/Databases/database1.db");
    sqliteDB = DatabaseFactory.create (uri);
    Add (new RichTextField)
    (("Status: database was created successfully."));
    } catch (Exception e) {}
    System.out.println (e.getMessage ());
    Add (new RichTextField)
    (("Status: database has not been created."));
    Add (new RichTextField (e.getMessage ()));
    e.printStackTrace ();
    }
    }
    }

    Unfortunately had the exception-

    net.rim.device.api.database.DatabasePathException: invalid path name. Path does not contains a list of appropriate root. See class FileSystemRegistry for more details.

    Hello
    In your eclipse go to debug configurations in select tab Simulator, in memory of Simulator tab selection in this last use system files from the pc to SDCard policy file box to check this and give some trail (IE any path of the folder) this directory is worked as a SD card in your Simulator...

    Thank you...

  • Try to update Java, Adobe Reader and now RIM Blackberry Desktop Manager, Error 1606 could not access network location.

    I got this error for a few months. Initially, I came across it trying to update Java, Adobe Reader and now RIM Blackberry Desktop Manager.

    The specific error is "Error 1606 could access the network location:.", with the colon and the dot at the end. Therefore, it is difficult to know exactly what registry entry, it's.

    I tried to change various registry keys and using a number of files of Microsoft "Fix it for me", but the error remains.

    Can someone help me please identify the location of the network that weird symbols ":." to refer and possible to put an end to this problem once and for all?
    I'd be happy to re - try fix if proposed as a possible solution.

    Thanks in advance.

    Hello

    1. What microsoft fix it did you try?
    2. don't you make changes on the computer before the show?

    This problem occurs because there is incorrect entries in the Shell folder of the user who is logged on to Microsoft Windows. When Windows Installer goes to the sale of Shell folder of the user who is logged on to the computer, Windows Installer cannot locate the correct entry.

    The steps to correct this problem involve editing the Windows registry.

    WARNING: this method contains steps that tell you how to modify the registry. However, serious problems can occur if you change the
    Register incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it.
    Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following link:
    http://Windows.Microsoft.com/en-us/Windows7/back-up-the-registry
    a. Click Start and typeregedit in the search box start and press to enter.
    b. find the following registry key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell dossiers\
    c. remove the entries that show the path that is listed in the error message.

    You can also consult the steps in knowledge base article provided assistance:
    http://support.Microsoft.com/kb/886549

  • Impossible to download Blackberry JDE

    Hello

    I am trying to download Blackberry JDE v4.5 for these last two days, but after downloading about 14Mo, Server error is coming. Same is the case with my friend who is also trying to download Blackberry JDE. Is there a problem with the server?

    Thanks for your reply. Waiting for the issue to be decided.

  • Bulding error with BlackBerry JDE project

    Hello

    I tried to create my application on BlackBerry JDE 5.0, and she's still fails with the following message is displayed:

    SimpleUI building
    C:\Program Research In Motion\BlackBerry JDE 5.0.0\bin\rapc.exe codename = SimpleUI SimpleUI.rapc warnkey = 0 x 52424200; 0 x 52525400; 0 x 52435200 import =... \lib\net_rim_api.jar "C:\Program search in Motion\BlackBerry JDE 5.0.0\bin\SimpleUI.java".
    Error while building project

    The same code can be built and run successfully on Eclipse with the BlackBerry plugin.

    Can anyone help?

    Check your path once again, I think that you are missing something in the path.

  • is not abstract and does not substitute the abstract method callLogRemoved (net.rim.blackberry.api.phone.phonelogs.CallLog)

    Can someone tell me why im getting the following error

    is not abstract and does not substitute the abstract method callLogRemoved (net.rim.blackberry.api.phone.phonelogs.CallLog)

    callLogRemoved is set, I tried to remove it and it also gives me the same error

    Here is my code

    Thanks in advance for answer

    Net.rim.blackberry.api.phone import. *;
    Net.rim.blackberry.api.phone.phonelogs import. *;
    //*******************************************************************************//
    public class mylistener extends Thread implements {PhoneLogListener}

    {} public void callLogRemoved (int arg0)
    System.out.println("/***/"); "
    System.out.println ("CallLog removed');
    System.out.println("/***/"); "
    }
    {} public void callLogAdded (int arg0)
    System.out.println("/***/"); "
    System.out.println ("CallLog added");
    System.out.println("/***/"); "
    }
    ' public void callLogUpdated (int arg0, int arg1) {}
    System.out.println("/***/"); "
    System.out.println ("CallLog update");
    System.out.println("/***/"); "
    }
    {} public void reset()
    System.out.println("/***/"); "
    System.out.println ("CallLog Reset");
    System.out.println("/***/"); "
    }

    }

    Javadoc documentation:

    public void callLogRemoved (CallLog cl)

    but you have coded:

    public void callLogRemoved (int arg0)

    An int is not a CallLog, so these signatures do not match.

  • How do you see the System.out.println (without using Eclipse and BlackBerry JDE)

    Hi all

    I just want to know if there is no solution to see System.out.println.

    I use neither Eclipse nor BlackBerry JDE for my development.

    I have my jar, jad files. I convert my jar file using the CAP tool. The .cod files are generated.

    I start the trainer. Now I have 2 windows: Windows Simulor and the output (see picture).

    Then I load my .cod files. But I see not all System.out.println ("...") in the output windows.

    How can I see these System.out.println ("...")?

    Please help me.

    Thank you all.

    Thanks for your help.

    I try your solution EventLogger.

    But I have another problem:

    My request is not a native application (it is a midlet in J2ME, not a UIApplication). Do you think that it will work with EventLogger?

    How can I make a registry for EventLogger:

    static boolean register(long guid, String name) 
    Registers the name and the guid of the calling application.
    static boolean register(long guid, String name, int viewerType) 
  • How do I use a different version of the BlackBerry JDE?

    Hello

    I installed BlackBerry JDE version 4.5 to 6.0.

    How can I find out the current version used to Eclipse?

    I also try to change using the JDE follosing version this article, http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/How_To_-_Confi...

    But there is no such ide.bat under the directory.

    Thank you.

    Under your project directory, there is a JRE System Library. Right-click on it and select Properties. After that, I think you know what to do.

    I hope this helps.

  • How to change the icon of the Application on Blackberry JDE 6

    Hi, do someone know how to change the icon of the application of the project, we have created in the JDE? I searched the forum, and suggestions should go to the project properties, go to the "resources" tab and add the icon file. I have also included the file icon (PNG 68x68pixel) to the project.
    But this does not seem to work for me.
    I also tried to build clean, remove files jad and others, always not when I tried the app Simulator or on real device. Any help will be appreciated.
    I use Blackberry JDE 6, test the application on the actual device (9800), Simulator (9700). And the app that I'm testing is just a pushscreen simple helloWorld app, not a lot of code here. Thank you.

    Here's how to put the icon in BlackBerry JDE.

    1. Add the image to your project.
    2. Right-click on the image and choose Properties.
    3. Check "use as icon for the Application.
    4. Rebuild the application.
  • Full duplex to BlackBerry JDE 4.7

    Hello

    I know that his duplex (play and record at the same time) is not supported in BlackBerry JDE 4.6.

    I saw the article - "not sure I have it is a bug or a feature. We use two players: one for record, another for reading ', but I couldn't find the solution.

    Does anyone know how to implement the application with the duplex sound?

    Alternatively, the BlackBerry JDE 4.7 does support duplex sound?

    Thank you.

    Best regards, Ricos.

    Yes. It is possible. Play and record on two separate applications. Oh, make basic applications.

Maybe you are looking for