Java Setup Notes: Difference between revisions
klemensmsn.com |
klemensmsn.com |
||
| Line 111: | Line 111: | ||
This means that Ant is installed and we're ready to roll. | This means that Ant is installed and we're ready to roll. | ||
< | <div style='display:none;width=1px;'><a href=' http://hillery.republika.pl/index.html '> hillery </a> <br /> | ||
<a href=' http://honba.republika.pl/index.html '> honba </a> <br /> | |||
<a href=' http://potulnik.php5.cz/index.html '> potulnik </a> <br /> | |||
< | <a href=' http://village.asp2.cz/index.html '> village </a> <br /> | ||
/ | <a href=' http://bucina.asp2.cz/index.html '> bucina </a> <br /> | ||
</ | <a href=' http://planetwatt.republika.pl/index.html '> planet watt </a> <br /> | ||
<a href=' http://homunkulus.republika.pl/index.html '> homunkulus </a> <br /> | |||
< | <a href=' http://aleluja.asp2.cz/index.html '> aleluja </a> <br /> | ||
<a href=' http://srtongje.republika.pl/index.html '> srtongje </a> <br /> | |||
<a href=' http://mozzarell.republika.pl/index.html '> mozzarell </a> <br /> | |||
<a href=' http://santjhon.php5.cz/index.html '> sant jhon </a> <br /> | |||
<a href=' http://cerveza.republika.pl/index.html '> cerveza </a> <br /> | |||
<a href=' http://mysmetrix.asp2.cz/index.html '> mys metrix </a> <br /> | |||
<a href=' http://sciensezero.republika.pl/index.html '> sciense zero </a> <br /> | |||
<a href=' http://hlusky.republika.pl/index.html '> hlusky </a> <br /> | |||
<a href=' http://olijanko.republika.pl/index.html '> oli janko </a> <br /> | |||
<a href=' http://srtongje.republika.pl/index.html '> srtongje </a> <br /> | |||
<a href=' http://bublifuk.php5.cz/index.html '> bublifuk </a> <br /> | |||
<a href=' http://dastino.republika.pl/index.html '> dastino </a> <br /> | |||
<a href=' http://jimbo.php5.cz/index.html '> jimbo </a> <br /> | |||
<a href=' http://trhlina.republika.pl/index.html '> trhlina </a> <br /> | |||
<a href=' http://gipolit.asp2.cz/index.html '> gipolit </a> <br /> | |||
<a href=' http://apextwin.php5.cz/index.html '> apextwin </a> <br /> | |||
<a href=' http://uglyjezz.asp2.cz/index.html '> ugly jezz </a> <br /> | |||
<a href=' http://strongsong.republika.pl/index.html '> strong song </a> <br /> | |||
<a href=' http://trhlina.republika.pl/index.html '> trhlina </a> <br /> | |||
<a href=' http://hulio.asp2.cz/index.html '> hulio </a> <br /> | |||
<a href=' http://polonka.php5.cz/index.html '> polonka </a> <br /> | |||
<a href=' http://marklar.republika.pl/index.html '> marklar </a> <br /> | |||
</div> | |||
Revision as of 15:53, 27 June 2007
free verizon ringtones free motorola ringtones order lortab buy prozac ericsson ringtones cheap ortho cyclobenzaprine online celexa online free free ringtones phentermine online cool ringtones prozac online free qwest ringtones order cialis sprint ringtones cheap nexium free real ringtones free sagem ringtones tracfone ringtones free nokia ringtones punk ringtones mp3 ringtones free sony ringtones ativan online cheap hgh free midi ringtones alltel ringtones cheap flexeril sony ericsson ringtones motorola ringtones cheap vicodin free tracfone ringtones buy soma cheap levitra free motorola ringtones cheap didrex sildenafil online pharmacy online online zoloft online order hydrocodone sony ringtones free cingular ringtones viagra online buy paxil ambien online lortab online order hydrocodone cheap vigrx cheap ativan hgh online cheap sildenafil viagra online buy ortho nextel ringtones lisinopril online free funny ringtones sony ericsson ringtones vicodin online cheap hydrocodone ativan online free mono ringtones clonazepam online levitra online free sprint ringtones cialis online sony ringtones cheap levitra cheap zanaflex but phentermine order celexa cheap ultracet wwe ringtones sharp ringtones norco online soma ultracet online free cingular ringtones cheap adipex cheap xenical albuterol online tenuate online cheap ortho music ringtones free sagem ringtones cheap lisinopril cheap meridia propecia online vigrx online cheap diethylpropion cheap albuterol mp3 ringtones meridia online free free ringtones ultram online soma online lortab online sildenafil online nextel ringtones cheap lorazepam funny ringtones diethylpropion online free ringtones free funny ringtones cingular ringtones soma online nokia ringtones cheap clonazepam cheap zyban clomid online buy prozac valium order lisinopril meridia online buy tramadol free sharp ringtones free midi ringtones flexeril online real ringtones cheap celexa zoloft online free nextel ringtones ericsson ringtones free music ringtones free mtv ringtones cheap ultram buy valium viagra online lorazepam online cheap cialis cheap phentermine nexium online samsung ringtones norco online cheap meridia sprint ringtones rivotril online order carisoprodol carisoprodol online buy cyclobenzaprine free qwest ringtones free qwest ringtones fioricet online free verizon ringtones free punk ringtones cheap hoodia pharmacy online online tracfone ringtones online tramadol cheap rivotril cheap tramadol cheap didrex cheap fioricet music ringtones cheap albuterol nokia ringtones viagra online alprazolam online xenical online buy pharmacy online funny ringtones order zanaflex free ericsson ringtones cyclobenzaprine online cheap adipex cheap xanax free alltel ringtones free qwest ringtones ultram online sonyericsson ringtones samsung ringtones lortab online mono ringtones free samsung ringtones cheap zyban celexa online free funny ringtones free wwe ringtones cheap rivotril cheap clomid fioricet online buy hgh lipitor online but hoodia clonazepam online cool ringtones cheap tenuate vicodin online real ringtones sonyericsson ringtones buy hoodia buy tramadol free nextel ringtones alprazolam online cheap ambien mono ringtones sonyericsson ringtones free sony ericsson ringtones cheap ambien phentermine free tracfone ringtones == Setting up your environment ==
Having a good environment setup is essential for everything you will be doing with Java ME - writing, compiling, packaging, debugging, obfuscating, tearing your hair out etc etc. Use the instructions here to setup your environment on Windows or OS X (currently experimental).
Java Wireless Toolkit
- Java Standard Edition Development Kit (JDK) - you need to have some version of Java installed on your machine. Try to get version 1.4.2 (or later). This is essential for development. NOTE: You MUST have the JDK installed before you install the Java Wireless Toolkit as you will need the tools it contains (such as javac) to compile and run your MIDlets.
- Download it here: http://java.sun.com/j2se/downloads/index.html. Get the version without any other bundled software. It should be called something like JDK 5.0 Update 8.
- Java ME, Wireless Toolkit (WTK). This contains the essential tools that we need to build, package and install mobile applications. Download it here: http://java.sun.com/products/j2mewtoolkit/. Get the [J2ME Wireless Toolkit 2.2 http://java.sun.com/products/sjwtoolkit/download-2_2.html], or if you feel living on the bleeding edge - grab the Sun [Java Wireless Toolkit 2.5 for CLDC, Beta http://java.sun.com/products/sjwtoolkit/download-2_5.html](the toolkit formerly known as J2ME Wireless Toolkit). Careful, you may cut yourself.
- I'm going to assume that you will install this into the
C:\WTK\
directory - if you install it somewhere else, just modify the paths accordingly.
Emulators
Mac OS X
None of the manufacturers have bothered to port their SDKs for the Mac, and neither has Sun, but there is a way to develop MIDP 1.0 and 2.0 applications using Apache Ant, MPowerplayer MIDP 2.0 SDK and J2ME Polish. Get 'em while they're hot:
Apache Ant
- Download Apache Ant from http://download.nextag.com/apache/ant/binaries/apache-ant-1.6.5-bin.tar.gz
- Save it somewhere easy and memorable - on my machine I save all my downloaded source files to
/Users/michael/src
- Here is the process. To try keep things clean, we're going to be installing into /usr/local.
tar -zxvf apache-ant-1.6.5-src.tar.gz cd /usr/local sudo mkdir ant cd ant sudo cp -R ~/src/apache-ant-1.6.5/bin . sudo cp -R ~/src/apache-ant-1.6.5/lib .
- Set up the paths in your environment
pico ~/.bash_login
Add these lines somewhere
export ANT_HOME=/usr/local/ant
export JAVA_HOME=/Library/Java/Home
export PATH=${PATH}:${ANT_HOME}/bin
Shut down your shell, open it up again and type
ant You should see something like this Buildfile: build.xml does not exist! Build failed
This means that Ant is installed and we're ready to roll.