wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes J2ME Development on WinXP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "J2ME Development on WinXP" Watch "J2ME Development on WinXP" New topic
Author

J2ME Development on WinXP

Braian Tasearnet
Greenhorn

Joined: Sep 19, 2003
Posts: 1
First off, I am not only new to J2ME but am fairly new to Java all together. I first took a java class in my Programing Structures 2 class at a technical college I attend.
I am looking to take my basic applications and applets(some developed through, notepad, some through NetBeans for windows, and some developed from pico on a linux box.) and rewrite my codes to run on a PDA (toshiba e740 running PPC2002 w. out a JVM or VM of any sort). One program is a graphical pie chart program that takes input through an application. There are many others. All that garbage out of the way here are my questions:
1. Can I develope J2ME on a Windows box(this is my preffered method)
2. If so, what software do I need? The J2ME downloads all seem to be linux based. What about JVMs for the PPC, do I need a PPC emulator? What else?
3. Will most basic java programs, ie. mortgage calc, simply run on a JVM enambled PPC or do they need to be recompiled by J2ME?
Please help I am very confused.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Welcome to the JavaRanch, Braian!
1. Can I develope J2ME on a Windows box(this is my preffered method)
Sure you can.
2. If so, what software do I need? The J2ME downloads all seem to be linux based. What about JVMs for the PPC, do I need a PPC emulator? What else?
You need the Sun J2ME Wireless Toolkit (probably version 1.0.4 as I suspect your PDA does not support MIDP 2.0 yet), and an IDE. For mobile development, you might consider Sun ONE Studio Mobile Edition, JBuilder MobileSet, or a combination of <your preferred code editor>, Ant and Antenna.
3. Will most basic java programs, ie. mortgage calc, simply run on a JVM enambled PPC or do they need to be recompiled by J2ME?
Most applications will not. Some *very simple* applications might, except that you still need to repackage them in order to be installed. I'd get a second opinion on that, though.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Fernando Sanz
Ranch Hand

Joined: Jun 27, 2003
Posts: 101
Hi Braian,
if you want to develop programs that will run on your PDA, the first thing you could do is to buy Daryl�s book: Java Development on PDAs (http://www.amazon.com/exec/obidos/tg/detail/-/0201719541/qid=1064052219/sr=8-1/ref=sr_8_1/102-5542533-2672912?v=glance&s=books&n=507846)
The only missing point in that book is that you can use the Pocket PC Emulator on your computer.
You can use Personal Java to develop for your PDA, which is previous to J2ME but very powerful and most JVM are actually Personal Java implementations. It�s very similar to "normal" Java, but you�ll be missing Swing components.
If you�re interested in the Emulator and so on, let me know and I�ll post all the nessesary information.
Cheers
Fernando
Fred Grott
Ranch Hand

Joined: Oct 05, 2002
Posts: 346
For rest of the pda emualtors on J2me see:
http://www.jroller.com/page/shareme/J2MEEmulators


MobileBytes blog - Sharing Technology - My Programming Knols
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: J2ME Development on WinXP
 
Similar Threads
newbie question
I need opinions on career development project!
Just starting out with J2ME.....
core java doubt
Tomcat setup on Linux