使用eclipse搭建j2me手機開發環境

來源:互聯網
上載者:User

使用eclipse搭建j2me手機開發環境

 使用eclipse搭建j2me手機開發環境


1 下載 eclipse3.1  jwtk2.2  eclipseme1.2.3

    eclipse3.1的下載地址:
http://www.eclipse.org/

    jwtk2.2    的下載地址:http://java.sun.com/j2me/download.html

    eclipseme1.2.3的下載地址:http://eclipseme.org/

2  安裝 eclipse 到 d:eclipse3.1 ;

           jwtk2.2 到 d:jwtk2.2 (為jwtk2.2打patch) 

           eclipseme1.2.3 到 d:eclipseme1.2.3

3  配置eclipseme到eclipse

< 1>啟動 eclipse->點擊 help ->點擊 software updates ->點擊  find and install ->選擇 search for new features to install->點擊  next ->點擊 new archived site -> 選擇 eclipseme1.2.3.zip - > 點擊  finish -> 重新啟動eclipse

<2>點擊 windows ->選擇 preference  ->選擇 J2ME ->選擇 platform component ->點擊wirelessToolkits->點擊右鍵  選擇 add wirelessKit ->選擇 jwtk2.2的安裝目錄->點擊 finish

<3>開啟測試專案 ,重新啟動eclipse,file ->new ->project ->j2me ->j2me midlet suite ->命名項目名稱為testJ2me

<4>驗證環境搭建,在項目中編寫一個名為HelloWorldMIDlet 的java程式,源碼如下:

package com.agile.j2me.core;

import javax.microedition.midlet.MIDlet;
</

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.