• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Help! does j2me wireless toolkit need other packages

 
Ranch Hand
Posts: 1072
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there I have downloaded j2me wireless toolkit (latest one ) do I need other downloads?
I have j2se j2ee installed ( also classpath and path are all set )
I am reading Yu Feng's book and he mentions that if the installation is successful i should be able to run
C:\> J2MEWTK\apps\example\bin\run.bat
well when i try i get the following error message :
C:\J2mewtk\apps\example\bin>run.bat
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/kvem/midp/Main

I am completely lost & need help (links package names etc ) to set my environment up . ( so I can enjoy Yu Feng's book )
here is the run.bat

@echo off
rem This file runs the example.jad/jar file in the emulator.
cd ..\..\..\
set CLASSPATH=lib\kvem.jar;lib\kenv.zip;lib\lime.jar;apps\example\bin\example.jar
java -Dkvem.home=. com.sun.kvem.midp.Main DefaultGrayPhone -descriptor apps\example\bin\example.jad
cd apps\example\bin

where is com.sun.kvem.midp.Main ?
if I double click on example.jad this application runs fine

[This message has been edited by ersin eser (edited August 01, 2001).]
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I've been using the Nokia Dev Kit from http://forum.nokia.com integrated with JBuilder form Borland. This gives you a good IDE to work with and you can compile, pre-verify and run in one click of a button. It also has .jar and .jad wizards so you don't have to mess around with command line stuff. You can also test your apps on the J2MEWTK emulators side by side with the Nokia one.
Hope this is useful
Pat
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
For me its running quite good even if i double click the run.bat file.please tell me whether u r able to run ktoolbar,run midp application...options from ur start menu ->programs->J2ME toolkit 1.0.1 .. if not reply back and also better uninstall and install again.
Regards
Balaji

Originally posted by ersin eser:
Hi there I have downloaded j2me wireless toolkit (latest one ) do I need other downloads?
I have j2se j2ee installed ( also classpath and path are all



[This message has been edited by Balaji Loganathan (edited August 02, 2001).]
 
Author
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To run the toolkit (1.0.2 Early Access) you need to run this batch file:
<your_install_root>\J2MEWTK\bin\ktoolbar.bat
Or, as suggested, just start it from your StartMenu->J2ME Wireless Toolkit...->KToolbar
You should get a small Java window firing up, with 'Create', 'Open', 'Settings' and other useful buttons!
From here you can open the examples, build them, and run them.
(I wouldn't bother going for the run.bat stuff, unless you want to modify the batch file for some reason...)
------------------
Richard Taylor
Author of Professional Java Mobile Programming
 
ersin eser
Ranch Hand
Posts: 1072
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for all the answers
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic