在netbeans 8.0中添加Java ME平台 [英] Adding Java ME platform in netbeans 8.0

查看:226
本文介绍了在netbeans 8.0中添加Java ME平台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在安装Netbeans 8.0的ME平台时遇到问题 - 我有:




  • 已安装的Netbeans IDE 8.0


  • 安装jmesdk-3.4


  • 安装了jmesdk-3.4插件&在Netbeans中激活它




当我尝试创建一个新的Java ME>移动应用程序项目
我得到警告说


未找到Java ME平台。请添加至少一个


当我尝试通过查找jmesdk-3.4文件夹添加java平台时,它告诉我没有平台是自动检测(失败),它需要我手动添加。但手动添加它只会造成更多的混乱。
需要帮助。

解决方案

如何安装JAVA ME SDK 3.4




  • 转到Java ME SDK下载页面


    I am having trouble installing the ME platform for Netbeans 8.0 - I have:

    • Installed Netbeans IDE 8.0

    • Installed jmesdk-3.4

    • Installed the jmesdk-3.4 plugin & activated it in Netbeans

    When I try to create a New Java ME > Mobile application project I get a warning saying

    No Java ME Platform found. Please add at least one

    When i try to add the java platform by locating the jmesdk-3.4 folder, it tells me no platform was detected automatically(failed) and it requires me to add manually.But adding it manually just creates more confusion. need help please.

    解决方案

    How to install JAVA ME SDK 3.4


    • Click the Accept License Agreement option.
    • Create an Account or login
    • Download the Java ME SDK installer file and save it to any location on your computer.
    • Double-click the installer file to run the installer, and follow the instructions.
    • Remember the installations directory. e.g. -> U:\Java_ME_platform_SDK_3.4

    When the installation is complete,

    the Java (TM) ME Platform SDK Device Manager icon appears in the Windows system tray.

    • Unzip the downloaded oracle-jmesdk-3-4-rr-nb-plugins.zip to a folder
      e.g. oracle-jmesdk-3-4-rr-nb-plugins

    How to activate Java ME support in NetBeans IDE?

    • Choose Tools > Plugins from the main IDE's toolbar.
    • In the Plugins dialog box, click the Installed tab and select Java ME in the list of available features.
    • Click Activate.
    • At the Welcome panel of the Installer dialog box, click Activate.
    • When the activation is successfully completed, click Finish.
    • Click Close to close the Plugins dialog box.

    How to register Java ME SDK as a platform in NetBeans IDE?

    • Choose Tools > Java Platforms in the IDE.
    • In the Java Platform Manager dialog box, click Add Platforms.
    • In the Add Java Platform dialog box, select Java ME CLDC Platform Emulator and click Next.
    • Select the folder where Java ME SDK is installed in the Choose directory to search for platforms dialog box and click Open.
    • Ensure the Java ME SDK platform is chosen in the Add Java Platform dialog box and click Next.
    • After the IDE detects the platform, click Finish. Java ME SDK should now be registered in the IDE.
    • In the Java Platform Manager dialog box, click Close.

    How to install the downloaded plugin

    • Go to Tools -- Plugins -- Downloaded
    • Click Add Plugins
    • Navigate to the Plugin folder e.g. oracle-jmesdk-3-4-rr-nb-plugins

    • Select all .nbm

    • Restart Netbeans

    enjoy the new program examples

    Done

    More Information wiki.netbeans

    这篇关于在netbeans 8.0中添加Java ME平台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆