File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

can't change from .class to .prc

vivi santa

Joined: Feb 02, 2001
Posts: 26
I follow the steps in the folling url
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
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

Joined: Mar 22, 2000
Posts: 13036
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:
subject: can't change from .class to .prc
It's not a secret anymore!