LinkedList in J2ME

R

reena_nagdev

I want to use Linked Lidt in J2ME for i want to encode message using
huffman coding which uses linked List.I copied java.util.* files in lib
dir of my project but it doesnt compiles the file It gives compilation
error for files in javautil.* which uses floating point.Also it gives
prevrifying error.
Any suggestions?Welcome.
 
D

Darryl L. Pierce

I want to use Linked Lidt in J2ME for i want to encode message using
huffman coding which uses linked List.I copied java.util.* files in lib
dir of my project but it doesnt compiles the file It gives compilation
error for files in javautil.* which uses floating point.Also it gives
prevrifying error.
Any suggestions?Welcome.

You cannot just copy classes from JavaSE into JavaME. For starters, it's
both against the license you accepted to include any classes in the
java[x].* hierarchy, and the preverifier will outright reject any class
that's packaged as such.

You will have to recreate the LinkedList class in a separate package in
order to use it in the MIDP.

--
Darryl L. Pierce <[email protected]>
Homepage: http://mcpierce.multiply.com/
"McVeigh's lawyer got him the death penalty, which, quite frankly,
I could have done." - Jon Stewart
*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com ***
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top