How can I download java game?

Hi everyone, sorry for my english, it is not my native language.
I have Game.Jar file, which is java game for Nokia ,and I uploaded this file into database.
Now I have a filed, type of byte[] (array of bites)
next, I generate URL like http://site.com/getfile.xxx?id=10, and then user go to this URL via WAP, and trying to send him byte[] array with java game data.
But I don't know which Content-Type i must send :(
I trying to send Content-Type: application/jar , but after downloading game into mobile phone, the game doesnt open :(((
please help me!

excuse me, it's actually application/java-archive
This works for me (PHP) but unfortunately you have to rename the downloaded file to .jar:
<?php
$file = fopen("MimeTest.jar","r");
header("Content-Type: application/java-archive");
$text = fread($file,filesize("MimeTest.jar"));
print $text;
fclose($file);
?>You can try it out here: http://woogley.net/misc/MimeTest.php
Download that and rename it to .jar and see if the data stayed in tact..

Similar Messages

  • HT201260 how can I download java as my version is OX MAC 10.5.8

    how can I download java as my version is OX MAC 10.5.8

    Surprised you don't already have it. Latest updates:
    Update 9 March 8, 2011 - Java for Mac OS X 10.5 Update 9 delivers improved compatibility, security, and reliability by updating J2SE 5.0 to 1.5.0_28, and updating Java SE 6 to 1.6.0_24 for 64-bit capable Intel-based Macs. J2SE 1.4.2 is no longer being updated to fix bugs or security issues and remains disabled by default in this update. This is a Combo update: Update 9 supersedes all previous updates of Java for Mac OS X v10.5.  http://support.apple.com/kb/DL1359
    Update 10, 29 June 2011 - This release updates J2SE 5.0 to 1.5.0_30, and updates Java SE 6 to 1.6.0_26. J2SE 1.4.2 is no longer being updated to fix bugs or security issues and remains disabled by default in this update. Support for out-of-process Java applets on Mac OS X 10.5 Leopard has been removed with this update.
    This release is only for Mac OS X 10.5.8 or later versions of Mac OS X 10.5. http://support.apple.com/kb/DL1359
    Since August 2012 updates for Java (and especially Java Runtime Environment, which is what you actually need) must now be downloaded direct from Oracle:
    http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1637588.h tml
    Further information here:
    http://www.oracle.com/us/corporate/press/1735645
    and their FAQ’s:
    http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/mac-faq.html
    However, if you need the Jave 6 JRE and plug-in, MadMAC0 has posted at
    https://discussions.apple.com/message/20107182?ac_cid=tw123456#20107182
    Apple has also posted (Oct 22/12) the approved solution for restoring the Java 6 plug-in:
    Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality.

  • Hi i qanted to get help pg how can i download a game but they want me to verify my age but ansrewing the security question but iforgot

    Hi i qanted to get help pg how can i download a game but they want me to verify my age but ansrewing the security question but iforgot

    Click here for information. If the option to have the answers emailed to you isn't available or doesn't work(the email may take a few hours to arrive), contact the iTunes Store staff via the link in the 'Additional Information' section of that article.
    (90361)

  • Purchased games but it's recognizing my old Nano. How can I download the games I purchased to my touch?

    Purchased games for my Touch, but it's recognizing my old Nano.  How can I download these games to my Touch?

    https://discussions.apple.com/thread/3051246

  • Can't download Java games. Certificate error conta...

    please can someone help me. each time i try to download java games via wap or cable i keep getting this certificate error message. i used to download just any game before until now. pls help

    If the so called root certificate against which the installation file was signed has expired, then a possible workaround is to set the phone date back far enough in the past for the duration of the installation (and then forward again to the correct date).
    Otherwise, the application developer needs to deal with it and have the installation file signed again with a digital certificate that has not expired.

  • How can I download free games, How can I download free games

    How can I download free games

    You can create an iTune and App Store account without credit card details
    1. Sign out of current Apple ID if you are sign-in to one (important)
    2. Go to App Store and select a free app
    3. Tap INSTALL APP
    4. Create New Apple ID
    5. Confirm Your Country
    6. Agree with Terms and Conditions
    7. Fill in your Apple ID and Password (you must create a new Apple ID; don't use your old Apple ID)
    8. Create and answer your secret question
    9. Select NONE for Payment Method
    10. Fill in Billing Address
    11. Submit application for new Apple ID
    12. Wait for verification email
    13. When email arrive, verify your account
    14. Start downloading your free apps

  • I can't download java games

    Hi,
    I'm trying to download some cell-phone java games off the internet onto my laptop but a window pops up that says "Java Virtual Machine, Fail to load Main-Class manifest attribute from C:/Documents and Settings..... .jar". I have installed "J2SE Runtime Enviroment 5.0 Update 6". What can I do? PLEASE HELP!

    Search the App Store for "Java Browsers".
    Therw a re a few there, though support is not 100%, you might be able to find one that can play the games.

  • How can I download this game?

    My iphone won't let me download a game. It says not enough storage but I have 3.6gb available. Does anybody know why to do?

    Meg St._Clair wrote:
    you need 2-3 times as much free space on your phone as the size of the game.
    Plus enough free space for the iOS to operate.

  • How can i install windows game on my mac actually i download a cricket game 2009 how i can inastall in mac

    how can i install windows game on my mac. actually i download a cricket game 2009 how i can inastal in mac

    It will never run in OS X. You need to install Windows on your machine.

  • I have reinstalled mountain lion on my MacBook Pro and can't get the games back App Store says they'll already installed how can i download them can anyone help

    I have reinstalled mountain lion on my MacBook Pro and can't get the games back App Store says they'll already installed how can i download them can anyone help

    I have eactly the same problem - it seems that the downloaded version on MBA is version 6.0 and on iPad is is version 2.0 -
    Issue is when i tried to save the presentation on MBA Keynote 09 - Keynote crashed.
    I tried to save is as Powerpoint in MBA and it crashed as well!
    Message was edited by: Innovaxin

  • How can I download the original Apple version of Java 6 please?

    I have an iMac OSX 10.10.1 Yosemite with Java 1.8.0_25. How can I download the original Apple version of Java 6 please? All my attempts are referred to the latest version of Java, which I already have! Catch 22!
    Thanks

    Java
    http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US

  • Where can I download Java and Adobe acrobat for games

    Where can I download Java and Adobe Acrobat for games?

    Sorry you can get  flash player for iPad  has flash player is dead
    Not sure about java  may be some one else can help you on that

  • HT4314 how can i download games and application on my i phone through computer and internet

    how can i download games and application in my i phone through i tunes with connection of laptop

    Hi grampaz,
    A Windows 7 smartphone does not support HP ePrint Home & biz app if that's what you are referring to.  You can use ePrint with any email-capable device and print to an ePrint enabled printer.  http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02759940&tmp_task=useCategory&cc=us&dlc=en&lang...
    I am an HP employee

  • TS1702 it says that i have to pay again to download a game from itunes.. how can i get the game in my itunes and phone? do I accept the charges and it will be re-embersed? what should I do? I have the order confirmation number etc. if you need.

    it says that i have to pay again to download it from itunes.. how can i get the game in my itunes and phone? do I accept the charges and it will be re-embersed? what should I do? I have the order confirmation number etc.

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • How can i download games on itunes for ipod version ios 3.1.3

    how can i download games on itunes for ipod version ios 3.1.3

    See if this page helps : https://sites.google.com/site/appleclubfhs/support/advice-and-articles/finding-a pps-for-older-devices#3.1.3

Maybe you are looking for

  • Payment Terms

    Hi, Can anyone explain me how to change the payment terms of the PO. What is the configuration path. what is the impact in changing the payment terms from one to the other . Where in the PO we can see this. Thanks in advance.

  • When I try to go to Youtube I get the error message :the connection was reset". Any ideas?

    Site won't open

  • Standard stock Aging Reports

    Hi All, I am using MC44, MC46 and MC50 for my stock aging reports. But i a m not getting correct figures. Please update me whether we can use these reports anyways.Can you provide the logic behind the calculation of the Aging of these re

  • PC to Mac iTunes library?

    I plan to purchase a new MacBook Air. I need to transfer my old iTunes library from Windows 7 to my Mac. I know how to do it using an external hard drive, but I don't have one and I don't plan to buy one. What other ways are there to transfer my libr

  • Best practice configuring 2602i aironet 50-70 users.

    Hi Im new to cisco wireless AP. I need your advice and best way to configure wireless AP. we have 50-70 users in 2 buildings  3 storey. 2 vlans I have 2 cisco aironet 2602i and 1 1142 aironet.. it is okey if AP-1142 to be access points? and 2 -2602i