• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2ME Development Enviroment.

 
David Garratt
Ranch Hand
Posts: 213
Eclipse IDE Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If possible I would like some clarification on how to setup my development environment for J2ME. I have a couple of devices which I have already installed NSICOM�s cr�me runtime and the demo programs work ok. However I am more than a little confused about how to setup my workstation�s development environment. I have JDK 1.5 installed and have both Eclipse and Netbeans installed. I am familiar with normal J2SE development and I�m aware of the add-ons for Netbeans (Mobility pack) and EclipseME which aid in the development of MIDP screens etc. However the cr�me environment supports AWT and limited Swing. So how do I tell my IDE that it should not look for external class references within the standard Java 1.5 runtime on my PC, but instead only allow me to reference the API�s which are supplied by NSICOM ? I have installed the Sun Wireless Development Toolkit too, but again the emulator seems keyed to MIDP applications.

If someone could give me a clue then I would be grateful

Many thanks

Dave
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, it really can be as simple as just including the J2ME jar files or other API jar files into the classpath for you project.

Mark
 
David Garratt
Ranch Hand
Posts: 213
Eclipse IDE Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, maybe I'm over thinking this, but if the .jar files supplied for the device include the same AWT classes as are present in the JDK 1.5 isn't there going to be some confusion ?

Thanks

Dave
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aren't they different in different packages. If they aren't they are indeed the exact same awt classes, then just use the Java 1.5 awt classes in your IDE, and still compile.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic