Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Get started with the BlackBerry JDE

by Retired ‎02-16-2010 10:49 AM - edited ‎02-19-2010 09:28 AM (1,998 Views)

Summary


This article applies to the following:


  • BlackBerry® Java Development Environment (JDE)


Details


Java Projects and Workspaces


A project in Java can be a Library, System Module, or Application, which might or might not rely on other projects to run. These projects can be made up of any number of Java code files (.java), java collections (.jar files), resources (.rrh and .rrc files) and data files (.gif, .txt, and so on). A Workspace is a group of one or more of these projects. Any two or more projects that depend on each other must exist in the same workspace for your application to compile and run correctly.


Creating a new Workspace


In the JDE, on the File menu, click New Workspace. The Create Workspace window appears. In this window, specify the name of the workspace that you want to create. If the directory that you select does not exist, you are asked if you want to create it.


Adding a new Project to a Workspace


In the JDE, click Project and then Create New Project. The Create New Project in Workspace window appears. In this window, specify the name of the project that you want to create. If the directory that you select does not exist, you are asked if you want to create it.

Saving your work


In the JDE, on the File menu, click Save. This will save the current file that you are working on as well as any project and workspace information. The shortcut key for this action is CTRL + S. If you want to save all the open files, not just the one that you are currently working on, on the File menu, click Save All.


Opening a Workspace


In the JDE, on the File menu, click Open Workspace. A directory window appears and you can browse to the workspace that you want to open. You can also open recently used Workspaces by, on the File menu, clicking Recent Workspaces and selecting the workspace that you want to open.

Contributors
Users Online
Currently online: 45 members 6,205 guests
Please welcome our newest community members: