Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to install J2ME

 
Joe Cheung
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To install JavaTM 2 Platform Micro Edition, Wireless Toolkit, I download "j2me_wireless_toolkit-1_0_4_01-bin-win.exe", and double click it. When choosing where to install it, I choose C:\j2sdk1.4.0 where I have installed J2SE 1.4.0. However, error messages "Could not find the main class" and "The directory that you have chosen does not include a Java 2 SE Virtual Machine" appear when after I click the "Next" button. Why? What can I do to solve the problem?
Thanks
Joe
 
Andrew Parker
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you set the classpath in environment variables properly?
 
Joe Cheung
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I didn't set the class path properly. How should I set the class path?
Thhanks
 
Andrew Parker
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For Win2k or XP, You need to set it by right click My Computer > Property > Advanced > Environmental Variables.
You need to set the classpath of J2SE and J2ME properly in order to run the WTK.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic