<?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>406 Not Acceptable &#187; Netbeans J2ME Polish</title>
	<atom:link href="http://406notacceptable.com/tag/netbeans-j2me-polish/feed/" rel="self" type="application/rss+xml" />
	<link>http://406notacceptable.com</link>
	<description>406 Not Acceptable, not just an error message, but now a blog!</description>
	<lastBuildDate>Thu, 01 Apr 2010 10:09:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fixing J2ME Polish Integration With Netbeans 6</title>
		<link>http://406notacceptable.com/java/j2me/fixing-j2me-polish-integration-with-netbeans-6/</link>
		<comments>http://406notacceptable.com/java/j2me/fixing-j2me-polish-integration-with-netbeans-6/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 13:07:41 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[j2me]]></category>
		<category><![CDATA[J2ME Polish]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[Netbeans J2ME Polish]]></category>

		<guid isPermaLink="false">http://www.406notacceptable.com/j2me/fixing-j2me-polish-integration-with-netbeans-6/</guid>
		<description><![CDATA[J2ME Polish is a really neat package for J2ME programming. Really all I want it for is to change all my annoying Vectors into ArrayLists for speed. Now there are a few issues with the integration plugin on both Windows and Linux when using Netbeans. Heck it doesn&#8217;t even work properly on Netbeans 5.5, never [...]


Related posts:<ol><li><a href='http://406notacceptable.com/java/j2me/arraylist-in-j2me-and-generics/' rel='bookmark' title='Permanent Link: ArrayList in J2ME and generics'>ArrayList in J2ME and generics</a></li>
<li><a href='http://406notacceptable.com/java/netbeans-61-looks-to-be-another-fine-product/' rel='bookmark' title='Permanent Link: Netbeans 6.1 looks to be another fine product'>Netbeans 6.1 looks to be another fine product</a></li>
<li><a href='http://406notacceptable.com/java/j2me/sorry-abo/' rel='bookmark' title='Permanent Link: Sorry about the lack of J2ME&#8230;'>Sorry about the lack of J2ME&#8230;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>J2ME Polish is a really neat package for J2ME programming. Really all I want it for is to change all my annoying Vectors into ArrayLists for speed. Now there are a few issues with the integration plugin on both Windows and Linux when using Netbeans. Heck it doesn&#8217;t even work properly on Netbeans 5.5, never mind Netbeans 6, 6.1, or 6.5&#8230;</p>
<p>Now what&#8217;s the only thing better than a poor integration plugin? No support, that&#8217;s what! A quick check on the J2ME Polish forums and you will find numerous posts asking how to fix these errors. So if you&#8217;ve tried going to the forums and had no luck (like everyone else,) you&#8217;ve come to the right place.</p>
<p>So here are a list of the problems and how to fix them.</p>
<p><strong>Â When starting NetBeans it prompts you with a message that states &#8220;org.netbeans.modules.java.platform/1 &gt;1.10 required version found 1.9.2&#8243;(Or some other version) with options &#8220;Disable and continue or Exit&#8221;.</strong></p>
<p>This one&#8217;s an annoying one, which occurs every now and again. I got this on 6.0 on Linux and 5.5 on Windows, but not with 6.5 on Windows. So how do you fix it?</p>
<p>Go to:</p>
<p>/usr/share/netbeans/platform7/modules</p>
<p>or in Windows (x being a version number)</p>
<p>Program Files\NetBeans 6.x\nb6.x\modules</p>
<p>If you can&#8217;t find this folder just search forÂ  &#8220;de-enough-polish-netbeans.jar&#8221; as this is the file you need to edit. Open up &#8220;de-enough-polish-netbeans.jar&#8221; with a zip program (Winrar, rileroller, Winzip, etc) and edit the file at META-INF/MANIFEST.MF wih a text editor (notepad.) There will be a sentence that states:</p>
<p>org.netbeans.modules.java.platform/1 &gt; 1.10</p>
<p>Change it to</p>
<p>org.netbeans.modules.java.platform/1 &gt; 1.0</p>
<p>Reactivate the plugin in Netbeans and enjoy!</p>
<p><strong>You are prompted to resolve reference problems relating to &#8220;Emulator Platform&#8221; or &#8220;SUN WTK 2.2 etc&#8230;&#8221; not being found.</strong></p>
<p>This occurs to everyone&#8230;</p>
<p>Go to your an existing (non polish) project folder and open the folder nbproject. There should be a file called project.properties, open this with a text editor. Scroll down and there should be two lines stating:</p>
<p>platform.active=Sun_Java_TM__Wireless_Toolkit_2_5_2_for_CLDC<br />
platform.active.description=Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC</p>
<p>The versions may be different, as you may have a later Wireless Toolkit!</p>
<p>Now open the same file in your J2ME Polish project and replace the platform.active and platform.active.description lines with the ones from the non polish project.</p>
<p>Replace every occurance of &#8220;MPowerPlayer&#8221; with Sun_Java_TM__Wireless_Toolkit_2_5_2_for_CLDC (or what you had in your old project.)</p>
<p>Replace every occurance of &#8220;Emulator Platform&#8221; with Sun Java(TM) Wireless Toolkit 2.5.2 for CLDCÂ  (or what you had in your old project.)</p>
<p>Close Netbeans and reopen and all should be fixed!</p>


<p>Related posts:<ol><li><a href='http://406notacceptable.com/java/j2me/arraylist-in-j2me-and-generics/' rel='bookmark' title='Permanent Link: ArrayList in J2ME and generics'>ArrayList in J2ME and generics</a></li>
<li><a href='http://406notacceptable.com/java/netbeans-61-looks-to-be-another-fine-product/' rel='bookmark' title='Permanent Link: Netbeans 6.1 looks to be another fine product'>Netbeans 6.1 looks to be another fine product</a></li>
<li><a href='http://406notacceptable.com/java/j2me/sorry-abo/' rel='bookmark' title='Permanent Link: Sorry about the lack of J2ME&#8230;'>Sorry about the lack of J2ME&#8230;</a></li>
</ol></p><hr />
<p><small>&copy; jim for <a href="http://406notacceptable.com">406 Not Acceptable</a>, 2008. |
<a href="http://406notacceptable.com/java/j2me/fixing-j2me-polish-integration-with-netbeans-6/">Permalink</a> |
<a href="http://406notacceptable.com/java/j2me/fixing-j2me-polish-integration-with-netbeans-6/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://406notacceptable.com/java/j2me/fixing-j2me-polish-integration-with-netbeans-6/&amp;title=Fixing J2ME Polish Integration With Netbeans 6">del.icio.us</a>
<br/>
Post tags: <a href="http://406notacceptable.com/tag/j2me/" rel="tag">j2me</a>, <a href="http://406notacceptable.com/tag/j2me-polish/" rel="tag">J2ME Polish</a>, <a href="http://406notacceptable.com/tag/java/" rel="tag">Java</a>, <a href="http://406notacceptable.com/tag/netbeans/" rel="tag">netbeans</a>, <a href="http://406notacceptable.com/tag/netbeans-j2me-polish/" rel="tag">Netbeans J2ME Polish</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://406notacceptable.com/java/j2me/fixing-j2me-polish-integration-with-netbeans-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
