Error Package Javax.microedition.midlet Does Not Exist
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies
Javax.microedition.lcdui Jar Download
of this site About Us Learn more about Stack Overflow the company package javax.microedition.io does not exist Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges package javax.microedition.lcdui does not exist Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a
Midp-2.1.jar Download
minute: Sign up Netbeans 8.0.1 package javax.microedition.lcdui.* does not exist up vote 1 down vote favorite I get an error while using import javax.microedition.lcdui.*; package javax.microedition.lcdui.* does not exist. But the line import javax.microedition.midlet.MIDlet; does not give any error. netbeans java-me lcdui share|improve this question asked Nov 20 '14 at 6:25 Reshma CB 114 add a comment| 1 Answer 1 active oldest
Lcdui Full Form
votes up vote 0 down vote Imoprt lcdui jar file in your application library. You can download this jar file from here. Download Jar file share|improve this answer answered Nov 29 '14 at 7:11 Altmish-E-Azam 1,2031617 i still get the error. I added the midp.jar to lib folder and used the import statement. –Reshma CB Dec 1 '14 at 6:23 share piece of import packages and full stacktrace of errors. –Altmish-E-Azam Dec 1 '14 at 6:55 The error:
Compiling 1 source file to e:\jmeapp\JavaMEApplication12\build\classes e:\jmeapp\JavaMEApplication12\src\javameapplication12\JavaMEApplication12.java:9: error: package javax.microedition.lcdui does not exist import javax.microedition.lcdui.*; 1 error e:\jmeapp\JavaMEApplication12\nbproject\build-impl.xml:432: The following error occurred while executing this line: e:\jmeapp\JavaMEApplication12\nbproject\build-impl.xml:253: Compile failed; see the compiler error output for details. BUILD FAILED (total time: 1 second)
The import statement import javax.microedition.lcdui.*; –Reshma CB Dec 2 '14 at 8:08 I suggest you create new project and move all source to new project and compile your code. Note Make sure you have added all library in you library path of project. –Altmish-E-Azam Dec 2 '14 at 9:24 add a comment| Your Answer draft
the Java Gaming Resources, or peek at the official Java tutorials Home Help Search Login Register Java-Gaming.org>Game Development>Newbie & Debugging Questions>package javax.microedition.midlet.*; does not netbeans exist Pages: [1] ignore | Print package javax.microedition.midlet.*; does not exist (Read 3947 times) 0 Members and 3 Guests are viewing this topic. VirtuaCasper Junior Newbie Java games rock! package javax.microedition.midlet.*; does not exist « Posted 2006-05-27 14:26:52 » im just getting into j2me programming via command lineim having problem with trying to compile a simple midleti get the following error messagepackage javax.microedition.midlet.*; http://stackoverflow.com/questions/27033128/netbeans-8-0-1-package-javax-microedition-lcdui-does-not-exist does not existi thought it might be because it cant seem to find the classesso i set the classpath with the dir and the lib folder that have thej2me classes inbut no luck...any ideas...? Anon666 Junior Devvie aka Abuse/AbU5e/TehJumpingJawa Re: package javax.microedition.midlet.*; does not exist « Reply #1 - Posted 2006-05-27 14:57:23 » what is the commandline you are executing javac with? VirtuaCasper Junior Newbie Java games http://www.java-gaming.org/index.php/topic,13875. rock! Re: package javax.microedition.midlet.*; does not exist « Reply #2 - Posted 2006-05-27 15:44:14 » javac MIDLetTest.javasource is...import javax.microedition.midlet.*;public class MIDLetTest extends MIDLet{ public MIDLetTest() { }} Games published by our own members! Check 'em out! Anon666 Junior Devvie aka Abuse/AbU5e/TehJumpingJawa Re: package javax.microedition.midlet.*; does not exist « Reply #3 - Posted 2006-05-27 17:37:54 » You have mis-named your super class.The correct name is :- MIDletThe correct commandline would be something like :-javac -cp c:\wtk23\lib\midpapi20.jar *.javaI recommend you use an IDE such as eclipse (along with the eclipseME plugin).Once setup correctly, you won't have to worry about classpaths again - and you won't ever mis-name a class. VirtuaCasper Junior Newbie Java games rock! Re: package javax.microedition.midlet.*; does not exist « Reply #4 - Posted 2006-05-28 14:58:40 » just to say a big thank you for helping me... that -cp bit worked a treat....i hopefully can return the favour one day... thanks agaian Pages: [1] ignore | Print You cannot reply to this message, because it is very, very old. Check out our latest community projects! Ads by P
This Site Careers Other all forums Forum: Java Micro Edition javax.microedition not found?? Jane Lin Greenhorn Posts: 13 posted 15 years ago Hello all, i am https://coderanch.com/t/226221/JME/javax-microedition trying to run my first midlet but this error appears and i https://bytes.com/topic/java/answers/791261-error-midlet really really dont know how to solve it HelloWorld.java:2: package javax.microedition.midlet.lcdui does not exist import javax.microedition.midlet.lcdui.*; where can i find the package?? so far i only have installed j2me wireless toolkit from java.sun.com and jdk1.3.1 is there anything else i am lacking?? thanks in advance!! does not Richard Taylor Author Ranch Hand Posts: 45 posted 15 years ago All the packages you need are in the file:
Author of Professional Java Mobile Programming Jane Lin Greenhorn Posts: 13 posted 15 years ago Originally posted by Richard Taylor: All the packages you need are in the file:
& solutions from a community of 418,541 IT Pros & Developers. It's quick & easy. Error in midlet P: 23 rpradeepa Hi, im getting this type of error in midlet program package javax.microedition.midlet does not exist package javax.microedition.io doaes not exist Welcomeform.java:4: package javax.microedition.lcdui does not exis import javax.microedition.lcdui.*; ^ Welcomeform.java:8: cannot find symbol symbol: class Form public class WelcomeForm extends Form implements CommandListener i have set the environment variable for path C:\JSDK2.0\bin; C:\Program Files\Java\jdk1.6.0_05\bin; C:\Program Files\Hewlett-Packard\Toolbox\ApacheTomcat4.0\bin; C:\J2ME\bin; C:\J2ME\j2me_cldc\bin; C:\J2ME\midp2.0fcs\bin; for class path C:\Program Files\Java\jdk1.6.0_05\bin; C:\JSDK2.0\lib\jsdk.jar; C:\J2ME\midp2.0fcs\classes\javax\microedition; plz give solution for this, Thanks in Advance Apr 5 '08 #1 Post Reply Share this Question 5 Replies Expert 10K+ P: 11,448 JosAH Hi, im getting this type of error in midlet program package javax.microedition.midlet does not exist package javax.microedition.io doaes not exist Welcomeform.java:4: package javax.microedition.lcdui does not exis import javax.microedition.lcdui.*; ^ ... for class path C:\Program Files\Java\jdk1.6.0_05\bin; C:\JSDK2.0\lib\jsdk.jar; C:\J2ME\midp2.0fcs\classes\javax\microedition; plz give solution for this, Thanks in Advance Just a guess: shouldn't that last classpath component be: C:\J2ME\midp2.0fcs\classes\; because 'javax' and 'microedition' are packages by themselves ... kind regards, Jos Apr 5 '08 #2 reply P: 23 rpradeepa ya correct i have cleared that error. now im getting this error javac WelcomeForm.java WelcomeForm.java:16: cannot find symbol symbol : class Voting location: class voting.WelcomeForm private Voting voting; ^ WelcomeForm.java:18: cannot find symbol symbol : class Voting location: class voting.WelcomeForm public WelcomeForm(Voting a) ^ WelcomeForm.java:51: cannot find symbol symbol