• Post Reply Bookmark Topic Watch Topic
  • New Topic

j2me "hello world"

 
J Mangual
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am reading Vikram Gopal's tutorial on how to write MIDlets. Their example shows the date and time when you launch it. However, when I use the emulator provided with J2ME Wireless Toolkit 2.2, it just disappears when I it launch. A look at the command line says "ALERT: java/lang/ClassFormatError: Bad Version Information". Here's the code it's right out the tutorial:

DateTimeApp.java


Manifest.mf


DateTimeApp.jad
 
Sukitha R Udugamasooriya
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Same code works well on WTK 2.5.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!