• (1) BlackBerry 环境的配置:安装standalone版的BlackBerry安装包


    Setting up your development tools for BlackBerry Java
    applications



    If you’re developing Java® applications for the BlackBerry® device, there are
    a number of tools you can use to develop your application.  In this article, we
    will focus on setting up the BlackBerry® Java® Plug-in for Eclipse®.



    The BlackBerry Java Plug-in for Eclipse extends the Eclipse® development
    framework to allow you to develop a BlackBerry Java application for the
    BlackBerry device. In Eclipse and Eclipse-based IDEs, the plug-in provides the
    tools to develop, debug, optimize, and localize your application.



    System requirements


    Before downloading the BlackBerry Java Plug-in for Eclipse, make sure your
    computer meets the following system requirements:




    • Intel® Pentium® 4 or AMD Athlon™ Desktop Processor 2.5GHz or faster
    • 1.5 GB or more available hard disk space
    • 2 GB RAM or more
    • Monitor with 1024 x 768 resolution or higher
    • Windows Vista®, Windows® XP, or Windows® 7 (Note: 64-bit
      versions require 32-bit Java® and 32-bit Eclipse).
    • Java® Platform, Standard Edition (Java SE) Development Kit (JDK) 6, update
      14 or later

    Task 1: Downloading and installing the Java SE JDK



    Note: If you already have Java SE JDK 6 update 14 or later
    installed on your computer, you can proceed to the next task.




    1. Go to www.oracle.com/technetwork/java/javase/downloads/index.html
      .
    2. Click Download JDK.
    3. From the Platform drop-down list, select the platform you
      are developing on.
    4. After reviewing the license agreement, select the license checkbox. Click
      Continue.
    5. Click the filename and save the file to a location on your computer.
    6. Double-click the exe file and proceed with the
      installation.
    7. Update the PATH environment variable to point to the newly installed JDK by
      completing the following steps:


    8. From the Control Panel, select System.
    9. On the Advanced tab, click Environment
      Variables
      .
    10. Under System variables, select the Path variable and click
      Edit.
    11. At the beginning of the Variable value field, type the path
      of the JDK followed by a semicolon ; For example, C:\Program
      Files\Java\jdk1.6.0_21\bin;
    12. Click OK to save and close the Environment Variables
      window.

  • In the Environment Variables, update the JAVA_HOME variable to point to the
    newly installed JDK.  Use the instructions in the prior step to update the
    JAVA_HOME variable.


  • Task 2: Downloading and installing the BlackBerry Java Plug-in and
    the Eclipse IDE



    Note: If you have a registered
    account on the BlackBerry® Developer Zone, please log in. By using your
    registered account, you avoid having to complete download agreements for each
    time you download a file. You can log in or register for an account at www.blackberry.com/developers.




    1. Go to www.blackberry.com/developers/java.
    2. Click the Development tools and downloads link.
    3. Click the Download the BlackBerry Java Plug-in for Eclipse v1.3 (full
      installer)
      link. This installer includes both the BlackBerry Java Plug-in-in
      for Eclipse and Eclipse 3.6.
    4. Click Download.
    5. Click Save, and then save the file to a location on your
      computer.
    6. Double-click the setup application file.
    7. Click Run.
    8. On the Introduction screen, click Next.
    9. Review the license agreement, and then select  I accept the terms of
      the License Agreement
      .
    10. Click Next.
    11. Choose a location where you would like to install Eclipse.  You can use the
      default location that’s specified on the screen or you specify a different
      folder location.  Note: The folder must be empty.
    12. Click Next.
    13. On the Select Additional Tasks screen, select where you want the setup
      application to create shortcuts for the BlackBerry Java Plug-in.
    14. Click Next.
    15. Review the information on the Pre-installation Summary screen, and then
      click Install.
    16. Click Done.


    You have successfully completed the installation of the BlackBerry Java
    Plug-in for Eclipse and the Eclipse installation.



    When you first launch the BlackBerry Java Plug-in for Eclipse, Eclipse will
    prompt you to specify a workspace.  This workspace contains all the application
    projects you plan to work on.



    Find out more



    For more information about the BlackBerry Java Plug-in for Eclipse and
    developing Java applications for the BlackBerry device, visit the following
    resources:



    连接:

    1):BlackBerry Java Plugin for Eclipse v1.5.0 (Windows)---------------------------------------------------------------------------------

    http://swdownloads.blackberry.com/Downloads/contactFormPreload.do?code=DC727151E5D55DDE1E950767CF861CA5&dl=0A360EA0B8874AF27D7A9098C0AA86C3&check1=A

     

    2):Java Application Development Tools & Downloads

    http://us.blackberry.com/developers/javaappdev/devtools.jsp
做个快乐的自己。
  • 相关阅读:
    列表推导式,生成器表达式
    迭代器,生成器初始
    装饰器的进阶
    函数名用途,初始装饰器
    函数参数,和空间
    py文件的操作
    字符串相关操作
    python基础二
    Django简介
    Django初识
  • 原文地址:https://www.cnblogs.com/Jessy/p/2331165.html
  • Copyright © 2020-2023  润新知