The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by noelking]

Lads well done on writing a cool book. I am currently doing my final year
project in college and am running into a few problems. My project involves
both Java Micro Edition and Bluetooth, I am really getting bogged downon the
setting up and running of software. I am developing on the palm device and I
am using a simulator for the bluetooth. I wanted to ask you about an error
you mentioned in your book. I am developing on the Sun Microsystems Studio
One Java ME edition and I have ran into a problem that I am a little unsure on
how to fix. The error I am getting is "ERROR VERIFYING CLASS
javax/bluetooth/UUID"

I know the problem is to do with the Java Bluetooth UUID class. This error is
not occuring a build time but when I run the application (prc) on the palm. I
noticed you talked about classpaths, I was not sure you could set classpaths
for Java ME so I will have to go home and investigae that. How I got these
classes working was by unzipping bluetooth class zip into the into the Jar
file and it all seemed to compile grand and then after I created the PRC file
and ran it I had the problem.

Lads if you have any ideas I would be so much appreciated, the software issues
i am having are killing me.

Thanks very much

Noel

PS. one of my ideas would be to decompile all the bluetooth classes and then
run them from with in the project?
import-bot (20211) [Avatar] Offline
#2
Re: Error Verifying Class
[Originally posted by jwhite]

Noel,

I am glad you found the book helpful and thanks for the support.

As to your problem, it looks like your UUID class did not get preverified (not
surprising if its a non-J2ME jar).

Try preverifying the classes using the MIDP's preverify utility (explained in
4.2.4 in the book) and let us know if that worked.

Regards,
Jim
> Lads well done on writing a cool book. I am currently doing my final year
> project in college and am running into a few problems. My project involves
> both Java Micro Edition and Bluetooth, I am really getting bogged downon the
> setting up and running of software. I am developing on the palm device and I
> am using a simulator for the bluetooth. I wanted to ask you about an error
> you mentioned in your book. I am developing on the Sun Microsystems Studio
> One Java ME edition and I have ran into a problem that I am a little unsure on
> how to fix. The error I am getting is "ERROR VERIFYING CLASS
> javax/bluetooth/UUID"
>
> I know the problem is to do with the Java Bluetooth UUID class. This error is
> not occuring a build time but when I run the application (prc) on the palm. I
> noticed you talked about classpaths, I was not sure you could set classpaths
> for Java ME so I will have to go home and investigae that. How I got these
> classes working was by unzipping bluetooth class zip into the into the Jar
> file and it all seemed to compile grand and then after I created the PRC file
> and ran it I had the problem.
>
> Lads if you have any ideas I would be so much appreciated, the software issues
> i am having are killing me.
>
> Thanks very much
>
> Noel
>
> PS. one of my ideas would be to decompile all the bluetooth classes and then
> run them from with in the project?