First Compiling Application error message

I'm trying to execute my first compile and didn't succeed, I need advice on how to solve the problem. I'm following instructions in Wells' "J2ME Programming" book. I've installed my JDK, MIDP 1.0, CLDC, set up new Paths, Crosspaths, and preverified successfully. I copied source code from the book and saved it in a file per book instructions. I opened a shell and entered this directory: cd\j2me\projects\hello
I tried to compile by entering: javac -target 1.1 -bootclasspath %MIDP_HOME%\classes Hello.java
The message I got was:
Hello.java:12:class HelloToolkit is public, should be declared in a file named HelloToolkit.java
public class HelloToolkit extends javax.micro edition.midlet.midlet
error loading class Hello.
I'm a beginner and need help, any assistance would be appreciated.

Thank you very much, problem solved. The problem was in the code - Wells incorrectly wrote HelloToolkit instead of Hello.
Thanks again.

Similar Messages

  • Getting "close -ShellExtLoader application" error message when installing PsCC or AiCC.

    Getting "close -ShellExtLoader application" error message when installing PsCC or AiCC.

    Hi Olegchursin,
    Please refer the KB : http://helpx.adobe.com/x-productkb/global/error-close-following-applications-continue.html
    "Close SugarSync if the application displayed is ShellExtLoader."

  • Custom JCA Adapter / Application Error - Message.setErrorInfo() ??

    Hi All,
    I was looking for how to create a sensible Application Error in a custom JCA adapter and was excited to find the following page in the PCK info on Adapter Development:
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/53d6409ff68631e10000000a1550b0/frameset.htm
    The part of interest being:
    <i>
    The following methods are available to enable you to read error information in the form of an ErrorInfo object from the message, or to set the error information in a message.
    Message.getErrorInfo()
    Message.setErrorInfo()
    If the synchronous response message is an application-error message instead of an application response, it must call setErrorInfo(myErrorInfo) for receiver adapters.</i>
    However, I can't find these methods, or indeed the "ErrorInfo" object anywhere in the AF classes - does anyone know it's whereabouts? Or is the above page just out of date? If so, what is the new approach for creating Application Level Errors in a custom JCA Resource adapter (not Exceptions - I can do that)
    Many thanks,
    Chris

    Well, you can get the latest jars from the SMP (Service Marketplace) directly.  These jars are in the <i>XI ADAPTER FRAMEWORK CORE 3.0</i> component.  Basically, http://service.sap.com/swdc  then Support Packages and Patches->SAP NetWeaver->SAP NETWEAVER->SAP NETWEAVER 04->Entry by Component->J2EE Adapter Engine (PI/XI).   There you'll see the XI ADAPTER FRAMEWORK CORE 3.0 link.
    OR here is the direct link for the SP19 (latest) of <a href="https://smpdl.sap-ag.de/~swdc/012002523100009492712006D/SAPXIAFC19P_4-20000272.sca?_ACTION=DL_DIRECT">SAPXIAFC19P_4-20000272.sca</a>
    Within this is <i>aii_af_lib.sda</i> which has the jars.  You can use winzip or winrar to open .sca, .sda files.
    Regards,
    Jin

  • I need help with an application error message

    AcroRd32.exe.- application error message appears. It states that   The instruction @"0x60006db6" referenced memory at "0x60006db6". The memory could not be "read". Click OK to terminate program.

    Please try to repair the Installation from control Panel-> Add Remove Programs-> Adobe Reader-> Repair.

  • RoboHTM.exe - Application Error message

    In one of my RH5 projects, I'm getting the RoboHTML.exe
    Application Error message "Instructions at ...referenced memory at
    ... . The memory cannot be read. Seems to happen when I try to
    create a new template or when I try to change the template assigned
    to a specific topic.
    Each time the project crashed, I tried to recreate the same
    template but it was already there. So I tried importing it but that
    didn't work.
    Although I'm using FlashHelp, which reports the hhp file as
    "unused." I tried Peter Grainge's suggestion regarding deleting xpj
    and cpd files and then using the hhp file to recreate my project
    files. This was fine except all of the templates that I had created
    vanished from the template folder. Because they were missing from
    the Templates folder, I was again confused as to what I should do
    as far as deleting or importing the templates to ensure that my
    version info displayed in the topic footers..
    I want to convert this project to Rh6 but am hesitant to do
    so until I've debugged the problem with this intermittent
    error.

    This has been covered in the forums before, but instead of searching, try this:
    Search for the file "cmsnxeye.exe" yields three locations:
    1) C:\Program Files\TARGUS\ACP50\Driver\CMdrv
    2) C:\windows\system
    3) C:\windows\prefetch\cmsnxeye.exeXXXXX.pf
    Delete the files in BOTH 2) and 3) and reboot. Let the board know how you do.
    T520 4239-CTO
    T61/p 6459-CTO (Gone but not forgotten)
    A31/p XP Pro 1 gig memory
    A30/p XP Pro 1 gig memory
    TP600 Win 2K 288 mb memory
    701C Win 98 Don't ask

  • Firefox application error message 0x754d2009 why?

    firefox application error message 0x754d2009 why?

    It happen because of Malware/Virus problem.
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • PB acting goofy - Openin Application Error Message - refusing to print

    I was using Adobe Photoshop CS yesterday and noticed some of my usual tools were suddenly missing (grayed out). I figured it was a fluke, and didn't really worry about it.
    Then today, I am getting error messages for other programs (Mail, Adobe Acrobat Pro, Adobe InDesign CS, etc.) saying, "You are opening the application 'Acrobat Professional' (or whichever program) for the first time. Are you sure you want to open this application?" I have had these programs for years, and use them regularly. I've never ran across this before.
    I also have two printers (HP Color LaserJet 2550n, Brother IntelliFAX 2820), and every time I try to print on either printer, it tells me the printer's memory is full and it's unable to print.
    I have not done anything to my computer, other than the usual weekly maintenance with OnyX, repairing permissions, etc. which was done a week ago. I have been on OS Tiger for over a year now. I checked my S.M.A.R.T status last Thursday, and all was good.
    As I am deaf, I depend on my PowerBook to communicate with other people, and to get my work done. The computer was working fine until yesterday.
    Thank you so much in advance for any help and suggestions.

    Robbi:
    I would begin by running Repair Disk
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.T Status of HDD at the bottom of right panel, and report if it says anything but Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    If DU reports errors it cannot repair you will need to use a utility like Tech Tool Pro or Disk Warrior
    Do you have the original Hard Disk Drive in this computer?
    What is the total capacity of your HDD and how much available capacity? (select Macintosh HD on desktop, then Get Info (Command + I))
    cornelius

  • FCE 2 first time startup error message.

    I am trying to install FCE 2 on a mac mini with 0.5Gig ram. I am using the master disk. I get the following message on startup for the first time. You must have at least 1 Easy Setup file. Please re-install Final Cut Express HD and try again.
    I have tried Tom's suggestions. Same problem on the second install. Any ideas. I updated FCE to 2.0.3. The specs list with my account are not correct for this computer. The operating system is 10.4.2.

    To whom it may concern:
    The IMG_ERR_PAR1 error is a little ambiguous and what I've initially found on it indicates that it pertains to a call made to a previous version of the driver embedded inside your driver install. A couple of ideas:
    1) Check that your interface name or board ID is correct in the IMAQ initialization (This is assuming that this error happens when you're running a program to execute a snap or grab. When you said "every first time startup - error occurs," I'm not quite sure what you mean as to when the error actually occurs).
    2) What version of the IMAQ driver are you using? I'd recommend that you make sure you have the most recent version available at http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C0D10?o
    pendocument&node=132070_US. You'll want IMAQ 2.6.1.
    See if this will do anything for you. Best of luck. If we have to go further with this, I'll need more specific information than was initially provided.
    Thanks,
    Jim Laudie
    Applications Engineer, National Instruments

  • ITunes 7.1 won't start, invalid Win32 application error message comes up

    I repeatedly tried to download iTunes 7.1 for my new iPod nano on my Windows XP, when the download completes and I try to run the program an error message comes up stating that iTunesupdate.exe is not a valid Win32 application...I have tried erasing iTunes completely then re-downloading it, tried re-intsalling but nothing works. I have been trying to get help for the past month now, no one seems to know anything, this is the last resort please help ASAP.
    Thanx a bunch.

    okay, let's give this document a try:
    iTunes: Windows reports that iTunesSetup.exe is not a "valid Win32 application"

  • Application Error Message. Need help identifying problem.

    From time to time i get the following error message and I'm forced to shut Illustrator down:
    Illustrator.exe - Application Error
    The instruction at 0x0034d17c referenced memory at 0x00000014. The memory could not be read. Click on OK to terminate the program
    Does anyone know what this means? This also occurs sometimes when I'm trying to select a font... for example Impact.. which isn't visible. Is the font corrupt? If so how do I go about obtaining a replacement? Whats going on here?
    Thanks

    Try either fixing permissions or removing the user cache using Onyx or Applejack.

  • I get an Application Error message when installing TestStand 2.0

    When installing TestStand 2.0 on a Windows NT 4.0 Workstation, following message appears when installing Engine: Application Error - The instruction at "0x685876b3" referenced memory at "0x685876b3". The memory could not be read.

    Hello Eduardo,
    This is a strange behavior, and I guess I have a couple of comments. TestStand works fine with Windows NT 4.0 but it needs at least Service Pack 3 installed. So make sure you have the SP installed.
    In addition, make sure you use an administrator account when you install TestStand. Finally, you can try to install it on a different computer with the same OS just to make sure the CD is OK. If it works in the other computer, then there is something wrong with the original PC.
    Regards,
    Roberto Piacentini
    Applications Engineer
    National Instruments
    www.ni.com/support

  • Modify Application: Error Message:: Object Variable or With Block variable

    Hi Experts,
    We just installed 5.1 on our server and once the application is installed.
    When I try to modify the aplication I get this error at the end
    This is step what the modify app does:
    Check environment information
    Drop Fact table index.
    Modify fact table.
    Update application information.
    Set Fact table index.
    Create stored procedures and comment table.
    Increase application version and make legal consolidation table.
    Make OLAP database and Journal/Audit reports. / Validate dimension formulas.
    Error Message:: Object Variable or With Block variable
    Any one has any any answer ? I will appreciate your help on this.
    Thanks

    Please check if Reporting Services is working properly.
    Just open IE and type http://nameofserver/reports
    If you receive any error then you have to fix that error verifying configuration of RS.
    If RS is working make sure you add the right information into Server Manager Server Option for RS and Report Server virtual directory.
    Also please check the tblappsetinfo to have all the fields completed (regarding servers).
    Regards
    Sorin Radulescu

  • Application error message

    My nokia asha 201 fails to use all apps, facebook, whatsapp, mail, twitter and even fails to go at internet instead it gives me the message of application error, out of memory, memory error so what should i do to restore all these functions on my phone.

    Emmanliko,
    Welcome to Nokia Discussions!
    You may need to restore your phones software. In order to do that, you must backup data on your phone before proceeding with this. Instructions can be found here at this page.
    Good luck

  • Application Error message takes more time in ECC

    Hi All,
    I am working soap to proxy synchronous scenario. when call is success i am able to get the response immediately from ECC within 2 to 3s.
    when there is any application error in ECC it is taking more time to send back the fault message to SAP PI. more than 1 min(65s).
    i tested the same payload in the sproxy in ecc. for application error it gives the fault message within 2s.
    but when it comes to end to end testing ECC is taking more time to send the fault message to PI.
    Please let me know if you have any suggestion to overcome this issue.
    Regards,
    Muni

    Abap team debugged and found out that there was an issue with RFC in ECC system.
    RFC connection was not working. it was causing the flow to wait for 1 mins. Basis fixed the issue to make RFC working. now interface works without connection time out.

  • CmSNXeye.exe application error message Targus related

    My computer was attacked by a virus and  MS antivirus fixed the problem.  After re-booting I keep getting the following error message-  "0x7c910f29" referenced memory at "0x000000000". The memory could not be read. CmSNXeye.exe application error.        I called for service and was told it had to do with my Targus docking station and USB replicator.  This error message comes up about every minute or so.  When I click on it, it goes away, but it is annoying.  Is there a solution to this problem that a computer illiterate person like me can solve?

    This has been covered in the forums before, but instead of searching, try this:
    Search for the file "cmsnxeye.exe" yields three locations:
    1) C:\Program Files\TARGUS\ACP50\Driver\CMdrv
    2) C:\windows\system
    3) C:\windows\prefetch\cmsnxeye.exeXXXXX.pf
    Delete the files in BOTH 2) and 3) and reboot. Let the board know how you do.
    T520 4239-CTO
    T61/p 6459-CTO (Gone but not forgotten)
    A31/p XP Pro 1 gig memory
    A30/p XP Pro 1 gig memory
    TP600 Win 2K 288 mb memory
    701C Win 98 Don't ask

Maybe you are looking for

  • JSF: how to add new record in datatable from same page

    Jdeveloper : 11.1.2.2.0 using ADF i want to create a page that contains a datatable, input text field and a command button. when i press the command button i want the text in the input text field to be inserted as a new record in datatable. what is t

  • How to Authenticate the Web Service from my Java Client?

    Hi All, I am a newbie. I am working in Microsoft Technology. But due to a critical requirement, I am suppose to write a Java Web Service Client application. I some how managed to create the Client Application. The application works fine if the Authen

  • Add a Button in JFrame Title Bar

    How can I add a button in JFrame Title Bar. I want to put on more button for docking after the closing button in the title bar.

  • Sec edu cess is not picking miro

    Hi, When iam doing miro sec edu cess is not picking into account. what cud be the reason Regards, Robert

  • Message errors and mixed recipients

    I recently updated my iPhone and in two separate cases, people who texted me actually got my daughters phone as well.  She was able to see their text to me.  They do not have my daughter's number so its very strange and in one case they initiated the