Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2006

Tip: Looking for answers? Try searching our database.

LinkedList in J2ME

Thread view: 
reena_nagdev@rediffmail.com - 18 Mar 2006 18:15 GMT
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.
Darryl L. Pierce - 22 Mar 2006 16:59 GMT
> 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.

Signature

Darryl L. Pierce <mcpierce@gmail.com>
Homepage: http://mcpierce.multiply.com/
"McVeigh's lawyer got him the death penalty, which, quite frankly,
I could have done." - Jon Stewart



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.