Weird things I found when installing J2ME

I downloaded a bundle of tools for J2ME: midp1.0.3 and cldc1.0. I use Windows 98 and Mandrake 9.2 separately in my PC.
I then tried to install J2ME into both, then here's what I found when I tried to run MIDlets:
1. In Windows 98, I compiled my *.java by the command 'javac' and it worked.
Then, I had to preverify it before running the classes (the executables) on an
emulator, didn't I? But, when I preverified it, an error message came out, saying
Error loading class : illegal constant pool index.
2. In Mandrake 9.2, I compiled my *.java by the command 'javac' and it worked.
Then, I preverified it, but this time, it worked. Wow! But then, when I ran it on an
emulator, an error message came out, saying
ALERT : Could not load required font
Segmentation fault
Then, I copied these classes to Windows 98 C:\ direcory and guess what ...
when I ran then, it worked well on the emulator.
This is kinda funny. I now begin to write the Java code in Mandrake, compile it, preverify it, and then move the classes to Windows to run in its emulator.
Can someone help me out of this trouble? It seems so time-consuming to do this, doesn't it?

I ran into the same font problem using Suse 9.2. Some digging into the source code revealed that the midp application tries loading fonts in sizes 9, 11, and 15, which don't exist. The standard font sizes in Suse (at least for adobe-helvetica) are 8,10,12,14,18, and 24.
To fix this, edit midp2.0fcs/src/solaris/native/text.c. Around line 80, there is a line with:
int height = "\011\013\017"[sizeKey];
For using slightly smaller fonts, change this to:
int height = "\010\012\016"[sizeKey];
If you want to use slightly larger fonts (except for the large size, change it to):
int height = "\012\014\017"[sizeKey];
Then go to build/linux/kvm, and run "make clean all". The generated kvm (build/linux/kvm/bin/kvm) works without errors for me.

Similar Messages

  • I bought my Iphone 5 a week ago, now suddenly my sound is gone when i play games, i checked everything and the weird thing is that when i put my headphone in i CAN hear the sound when in games, also he just plays music whitout my headphone. What could it

    Hello so as you can see in my question i have troubles with my sound
    I cant hear annything of my sound in game and i did check everything
    The weird thing is that when i put my headphone in i do hear the sound
    Also my music plays without my headphone
    Wat can it be ? Pls help !

    Ok, a little clarification then, you can hear music fine with the speaker and headphone?  You can hear a game's music fine with the headphone but not with the speaker?  Do you get the notification sounds ok with the speaker?
    If the speaker sound is acceptable with everything except the game then there is a problem with that game and its settings.
    If that is the case, you might want to try deleting the game and then downloading and reinstalling the game to see if that helps the problem.

  • Deskjet 2542 all in one error: 'the specified module could not be found' when installing to USB

    Installation proceeds OK until the USB cable is connected, when the error message is displayed and installation ceases.
    I have successfully istalled and run the printer on another XP PC of a similar age - ie old.
    I have upgraded the XP OS to SP3 with numerous updates;
    Checked that the USB ports read Data sticks OK;
    run a/v and malware programs, including Microsoft Safety Scanner;
    checked that USB drivers are up to date;
    uninstalled driver software and re-installed with software downloaded from HP;
    carried out the procedures detailed in HP Support Forum 4022116
    Error message the same.  
    This is for my elderly neighbour - help please!
    This question was solved.
    View Solution.

    Hi @bodger50,
    Welcome to the HP Forums! 
    I understand that your HP Deskjet 2542 gives you the error: 'the specified module could not be found' when installing to USB, on Windows XP.
    I would recommend going through the steps in this post, Re: Install Error "The system cannot find the file specified" (hpzprl40.exe). When you get to the printer install wizard section, just use the full feature software and drivers found at this website, HP Deskjet 2540 All-in-One Printer series Full Feature Software and Drivers. As the printer install wizard is only for Windows 7 and up.
    Hope this is helpful, and thank you for posting!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • HP Deskjet Ink Advantage K209a Driver not found when installing windows 8

    MY  PRINTER " HP Deskjet Ink Advantage K209a"  OPERATING SYSTEM  Windows 8 32 bit
    Driver not found when installing windows 8 .So,please give me a suggestion & give me new driver for win 8.
    [Personal Information Removed]
    Please give me a suggestion

    Hey 101214,
    I see you have a Windows 8 PC and a Deskjet Ink Advantage All-in-One printer (K209a).  I also see that you need a driver link for this OS and Printer.  Please follow the link below to download the driver for this printer/OS combo.
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=al-109242-1&cc=us&dlc=en&lc=en...
    If you need information on how to perform the USB installation on your Windows 8 PC please click here.
    I wish you the best!
    Jason
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • HELP"apple application support not found when installing itunes after a hard drive crash and replace

    HELP"   error "apple application support not found" when downloading itunes after a hard drive crash and replacement????

    Let's try a standalone Apple Application Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of the issue.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64Setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleApplicationSupport.msi to do a standalone AAS install.
    Does it install properly for you? If so, does iTunes launch properly now?
    If instead you get an error message during the install, let us know what it says. (Precise text, please.)

  • GLIBC_2.3 not found when installing oracle10g on SUSE linux

    Hi all,
    i am tryring to build a test server of SUSE linux 8 and when installing oracle 10g on the same....i am getting an error
    GLIBC_2.3 not found
    oracle@testserver:~/database>export DISPLAY=:0.0
    oracle@testserver:~/database>./runInstaller
    /opt/oracle/database/install/.oui:/lib/libc.so.6: version 'GLIBC_2.3' not found
    (required by /opt/oracle/database/install/.oui)
    oracle@testserver:~/database>pls suggest me where can i found these rpm i have been tryring to google the same....i have tried on rpmfind.com but not found rpm for suse 8
    pls help me...

    You should have searched a little bit, but my home server is an OpenSuSE 10.2/64 with Oracle 10g/64, so I will reply:
    runInstaller -ignoreSysPrereqsOpenSuSE 10.2/64 works really fine with 10g, installation is straightforward.

  • One thing I found when importing my movies!

    I think I'm getting the best quality (but I'm new at this, I'm still working out the details)
    One thing I found was I imported my movies from my video recorder that only has RCA output plus its old I don't think the heads are that clean or playing very well. Then I imported with a video recorder that has a S-Video connection & not only was the video better quality but the file was conciderably smaller.
    Feel free to confirm this.

    The movies do not download onto apple TV it shows them as purchased and you need to stream them down. If you want to show your purchased music on Apple TV you need to sign up for iTunes Match.
    There seem to be a few glitches with iTunes Match so i just use the computer icon to listen to music on my computer through Apple TV. If you have your Movies and TV shows on your computer this is where you will find them.
    The Movies and TV Shows buttons on the main page of Apple TV show you films and tv shows you have purcahsed or cen rent or purchase.
    You can also sync your Photos over as well. Method is slightly different in that in iTunes on the computer
    File > HomeSharing > Choose photos to share with Apple TV

  • Sound blaster card not found when installing softw

    Hi guys if any one can help me much appreciated. I have read alot of the forums and have tried creatives advice. I installed the drivers for my audogy 2 zs soundcard fine. It sees it in device manager as creative audigy audio processor wdm and i can see creative game port. My specs are
    amd 64 3400
    asues k8n-e deluxe motherboard onboard sound disabled in bios
    ati 9800 pro video card
    gig of corsair ram
    logitech z680 5. surround
    The problem i am having is installing the software for the card. When ever i click on the exe all it says is no soundblaster has been found on your computer. I am a IT guy for a phone company so i am not a noob when it comes to computers. This is the first exe i have ever clicked on and got errors over and over. After reading the forums with people that have the same problem why havnt creative put the software installs on there website so we can dl them since were having issues. I have tried all the steps on the forums and creatives tech support. If you can post the software standalone along with your updates it would be much appreciated. I get sound now utilizing my z680 speakers to there full potential. If any one can help me it would be appreciated thx.

    Hey, try this: http://uk.europe.creative.com/support/downloads/
    . Select Your Product : SB audigy 2 ZS
    <B>2. Select Your Operating System: xp?!</B>
    3. Select Your Language:
    and so on....
    or auto update http://uk.europe.creative.com/suppor...ID=033&OCXType=
    I hope that helps!!!

  • Data1.cab not found when installing msi bluetooth

    Hi
    I just bought an MSI bluetooth pc2pc and when I am trying to install its software on my Windows XP, it keeps on saying to me that an error occured. The error number is 1311. It says "source file not found: E:/Blue Tooth/data1.cab. Verify that the file exists and you can access it."
    In this window only a retry and a cancel button appears and when I press retry, this window comes again asking for this .cab file. I cannot even search for this file somewhere else on my PC. If I press cancel it rollbacks everything leaving me with no Bluetooth software and obviously no bluetooth connection.
    I also tried to change its software CD and I also changed the bluetooth device to no avvail.
    IS THIS A PROBLEM ON MY WINDOWS OR A PROBLEM FROM THE INSTALLATION CD.
    Please Help me cause if there is a problem with the bluetooth package I have to return it back

    Just curious can you extract the file with winrar and then install. I haven't run across your particular error but that has resolved other issues for me.
    Regards,
    Tim

  • No Disk Found when install Solaris 8 on HP DL380

    When I try to install Sun Solaris 8 on HP DL380, I received message NO disk found.Check to make sure disks are cabled and powered up. I installed Update Diskette SP21874 for DL380. Can somebody help?

    How did you unstall the ITU floppy, in the DCA?

  • Error "actionlist not found" when installing adobe flash player update

    in trying to update adobe flash player i get error "action list not found"I have win XP 32 bit. Have removed old version from my computer before downloading newer version, still will not load.

    You should by now be using Firefox 11. (You may well have updated since you posted this question).
    Possibly you have tried to download and install the FlashPlayer version intended for Internet Explorer, instead of the plugin for Firefox. (See related thread [/questions/859758#answer-228076] ''When trying to update Adobe Flash Player, message says no ActionList found.'' )
    Others may also note there is or was problem with some Flash Upgrades not being detected , but should start a new thread of your own if you have problems. See article [[Yahoo! and at&t mail say your browser is blocking Flash]]

  • No Hard Disks found when installing

    Hi,
    Because I have a new PC that has a motherboard that has a kind of RAID controller onboard that is not (yet) certified by Sun, I've been trying to install Solaris 8 on a somewhat older PC. It's a P133 with 96 MB RAM and a 2.5 GB HD (IDE).
    Altough the Configuration Assistant finds my HD and CD ROM (and there are no conflicting devices), when the Web Start Solaris Installer looks for a hard disk, he reports: "No hard disks found on the system. Please see your documentation."
    I've been trying to change parameters in the BIOS of my PC: set hard disk mode from LBA to CHS or Auto, but I keep getting the same result. What is also funny is that I can issue the 'format' command after the installer stopped. There I can use 'fdisk' and I can create x86boot and Solaris partitons as I like. (I cannot format them though.)
    What 's going wrong?
    Best regards,
    Dominiek

    Did you try: destroying the "x86, Solaris" pair, re-booting, running installer, recreating "x86, Solaris" and re-starting the installer with "/usr/sbin/c0d0_isntall"? I have to do that EVERY time...
    HOWEVER !!
    Your drive might have a drive manufacturer LBA scheme installed - which may not be compatible with your BIOS LBA scheme (docs can be found on www.westerndigital.com). Frequent disk errros is one symptom.
    You should have the install disk for your particular hard-drive. It will indicate whether a drive-manufacturer LBA is installed. You BIOS setting is of course a separate issue.
    1) If you have an existing partition: * do not alter the LBA scheme *
    2) In general, partitions with an Operatitng system installed when LBA was enable must have the exact same LBA (by BIOS manufacturer, BIOS version, or hard-disk manufacturer) SUPPLIED AT EVERY BOOT. Some OS's ignore the BIOS's LBA offering.
    3) The LBA-written data is NON-REVERSIBLE. LBA written data is, in general, PER-PARTITION. You must do a complete backup, format, and restore to change you LBA scheme.
    4) If you don't know your complete LBA status - you should be concerned. In general, move away from LBA when the opportunity arises.
    You might contact your motherboard manufacturer upon the matter of obtaining a BIOS upgrade. Also: what brand HD do you have?
    Hope that help,
         john

  • HELP -- Long lost photos-- found when installed i life 06

    When I installed I life 06 it said that it found 2500 hundred photos in my library that were not imported in the library-- these were long lost photos i thought that i had lost forever-- around 600 hundred had been imported when my wife inadvertantly stopped the import process. How do I get iphoto to find these photos and begin the import process all over. Should I just reinstall i photo 06.
    Thanks Ben

    Hi tupp,
    Try creating a new library and following the next instructions. All images that are in the old library should end up in the new library.
    Since this is iPhoto 6 it might work differently so I am not sure of the results. Make sure you do this on a duplicate library folder. You can also drag out the Data folder first before you do the import because that contains large thumbnail files which you don't need or want to import as new ones will be made.
    Oh, and the wording is now File>import to library
    Close iPhoto
    Rename your messed up iPhoto Library to "iPhoto Library_old"
    Drag this library to your desktop
    Hold down the Option key and launch iPhoto
    This is the window you will get
    Create a new library or choose a library to open
    Choose to create a new library
    Once this new empty library is open it is time to import the images from your old library
    Go to File>add to library
    Navigate to the old library on your desktop and highlight it in the window, then click the "open" button.
    iPhoto will start importing the images from your old library
    This is what to expect:
    Your images will be imported in nice dated rolls. (make sure your view is set to sort by rolls to see it) There are a couple of caveats to this. You will get rolls named "Originals" These rolls will contain your video clips and your original images that you had edited. If you had RAW files they would be in those rolls too (I don't do RAW, so I don't know for sure) Delete what you don't want from those rolls. You will also get the jpeg pointer files to your video clips imported. They will just be jpegs and will not point to the video clips anymore as iPhoto made new ones when the clips were imported again. You can delete those. they should be in a roll right next to the newly imported video clips so they are not hard to find. The thumbnail files don't get imported as iPhoto makes new ones when the images are imported.
    Once all you images have been imported, check through the library and make sure everything looks ok.
    You can now start making your Albums, and do your keywords or any other organizational steps.
    You can also delete the old library on the desktop.
    It is also a good time to backup this new library to CD/DVD by burning the iPhoto LIbrary folder in the Finder, or copying the iPhoto Library folder to an external drive formatted for Macs, or copying the iPhoto LIbrary folder to an iPod.
    Good luck!

  • "iTunes folder cannot be found" when installing itunes on windows vista

    I want to install itunes on windows vista but the itunes installation doesn´t work. The iTunes folder cannot be found and isn´t on the computer

    Hi ilseaelfers!
    I have an article here for you that can help you troubleshoot this issue with your installation of iTunes:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • Frustrated because I keep getting "action list not found" when installing adobe-reader.

    1. I had Adobe-reader installed and working but kept getting pop-up screens telling me to update.
    2. Each time I tried updating, an error-message showed up "action list not found".
    3a. So I thought deleting adobe-reader and doing a fresh install might work.
    3b. Using Goggle-Chrome, I still get the same error-message.
    3c. Then trying Internet-Explorer as a browser, I still get the same error-message.
    4. The real problem now is I have no Adobe-reader at all and that will make my wife unhappy.
    5. Operating-system is XP; I don't know how to tell if I have SP-2 or SP-3 if that makes a difference at all.

    This problem has been resolved; ultimately, I found out via Googling that XP-SP2-32bit can only handle Version 9.5.
    I am upset that Adobe kept telling me for weeks now that I needed to update but they directed me to an update my system is incapable of handling.
    Hence the error "action list not found". Dumb!!! I trusted them that they knew what they were doing.
    I felt it would help to uninstall what I had and do a fresh install.
    Now in that path, Adobe directed me to download version 9.0, which I did.
    Then somehow I found out that version 9.5 is the latest-greatest for my machine.
    Why did Adobe not make available 9.5 right away instead of 9.0??? Dumb again!!!!
    Nice product though; bad execution.
    I'm done venting.

Maybe you are looking for