wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes can't change from .class to .prc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "can Watch "can New topic
Author

can't change from .class to .prc

vivi santa
Greenhorn

Joined: Feb 02, 2001
Posts: 26
hi
I follow the steps in the folling url
http://developer.java.sun.com/developer/technicalArticles/wireless/palm/
and try to build a simple palm application. I complied the class and preverify it, but failed to change it from .class file to .prc file.
I got the error below
C:\J2ME\j2me_cldc\bin>java -classpath ../lib/classes palm.database.MakePalmApp -
v -version "1.0" -icon icons/default.bmp -bootclasspath ../lib/class -classpath
classes HelloPalm
Exception in thread "main" java.lang.NoClassDefFoundError: palm/database/MakePal
mApp
could anyone give some guidence for me or in where can I get more resources on J2ME?
thanks in advances
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
I think this one is simple. Your classpath does not include the base directory that has the palm/database/ subdirectory.
Therefore you get:
java.lang.NoClassDefFoundError: palm/database/MakePalmApp
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can't change from .class to .prc