<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jiramot.info &#187; j2me</title>
	<atom:link href="http://www.jiramot.info/tag/j2me/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jiramot.info</link>
	<description>Developer&#039;s Life</description>
	<lastBuildDate>Mon, 06 Feb 2012 08:49:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Developing Java ME on Mac OS X</title>
		<link>http://www.jiramot.info/developing-java-me-on-mac-os-x</link>
		<comments>http://www.jiramot.info/developing-java-me-on-mac-os-x#comments</comments>
		<pubDate>Mon, 12 Oct 2009 01:04:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[j2me]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=408</guid>
		<description><![CDATA[<p>To install and setup Netbeans on Mac is no problem. Running a J2EE or J2SE application would then be fairly similar to Windows. But running J2ME has a little problem.</p> <p>To work with mobile application, one can follow the helpful Netbeans + Mobility + Mpowerplayer Guide. However, the guide did not cover how to [...]]]></description>
			<content:encoded><![CDATA[<p>To install and setup <a target="_blank" rel="nofollow" href="http://www.jiramot.info/goto/http://www.netbeans.org/downloads/index.html" title="Netbeans" >Netbeans</a> on Mac is no problem. Running a J2EE or J2SE application would then be fairly similar to Windows. But running J2ME has a little problem.</p>
<p>To work with mobile application, one can follow the helpful <a target="_blank" rel="nofollow" href="http://www.jiramot.info/goto/http://wiki.netbeans.org/FaqMobilityMpowerMacOs" >Netbeans + Mobility + Mpowerplayer Guide</a>. However, the guide did not cover how to add optional java package such as jsr75, which I would cover below.</p>
<p><span id="more-408"></span></p>
<p>The complete steps to set up a mobile development environment with Netbeans + J2ME Mobility Pack + Visual Designer + Mpowerplayer emulator + optional java package:</p>
<ol>
<li>Download <a target="_blank" rel="nofollow" href="http://www.jiramot.info/goto/http://www.netbeans.org/downloads/index.html" title="Netbeans" >Netbeans</a> for Mac OS X.</li>
<li>Install either the Java SE or Web &amp; Java EE version of the IDE.</li>
<li>After installation, start the IDE and go to Tools &gt; Plugins.</li>
<li>Click the Available Plugins tab. Under Category go to Mobility.</li>
<li>Check the boxes for Visual Mobility Designer, and Mobility and click Install.</li>
<li>Download the <a target="_blank" rel="nofollow" href="http://www.jiramot.info/goto/http://mpowerplayer.com/" >Mpowerplayer SDK</a> and install it.</li>
<li>In the NetBeans IDE main menu, choose Tools &gt; Java Platform Manager.</li>
<li>Click Add Platform. Select the folder that contains the MPowerPlayer SDK (mpp-sdk). Click Search to locate the emulator in the folder. When the IDE finds the MPowerPlayer SDK, click Next.</li>
<li>Click Finish. The IDE registers the MIDP platform. You can now build and run a MIDP 2.0 application. But the setup still lacks optional java packages.</li>
<li>Download <a target="_blank" rel="nofollow" href="http://www.jiramot.info/goto/http://java.sun.com/products/sjwtoolkit/download.html?feed=JSC" >SUN WTK 2.5.2</a> (for Windows and Linux)</li>
<li>Unzip the .bin. For example, run the command:
<pre>$ unzip sun_java_wireless_toolkit-2_5_2-linux.bin</pre>
</li>
<li>Under /lib, copy the optional java package you need eg. jsr75, jsr 179 or even midpapi21.jar. Put them under /Applications/mpp-sdk/stubs/</li>
<li>In your project, edit project.properties and add to platform.bootclasspath the optional java package. eg.
<pre>platform.bootclasspath=${platform.home}/stubs/mmapi.jar:${platform.home}/stubs/midp-2.0.jar:${platform.home}/stubs/cldc-1.0.jar:${platform.home}/stubs/jsr75.jar</pre>
</li>
<li>Begin mobile development on Mac OS X!</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/developing-java-me-on-mac-os-x/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

