Mobile jar file

How do I make a mobile java game (jar file) work on my computer(windows xp)? I have no experiance with java. When I run it is says: Failed to load Main-Class artribute from...
How do I get it to work?
Here is a link to 2 mobile games I am trying to get to work:
http://www.guestviewfm.co.uk/habbohotel2/thesims2.jar
http://www.java2phone.ru/games3/crashnitrokart/crashnitrokart.jar

The sims2 jar is not configured to be an executable jar. I didn't look at the other jar. You can get the main class to start usingjava -cp thesims2.jar root/SimsAppBut I got an error because the application needs javax micro edition, which I don't have, so there could be additional problems as well. If you can install the ME, you will need to include its jar(s) in the -cp argument.

Similar Messages

  • Mobile apps jar files

    Hi,
    I'm working in mobile apps customization So I need the corresponding jar( ora-apps.jar ) files. From where can I get these jar files.
    Thanks
    Govindan P
    Edited by: user3026675 on Sep 8, 2009 6:04 AM

    The MSCA files are NOT in jar files; they are classes stored under the $JAVA_TOP file structure. You need to copy the following folders with contents into a local directory in your dev. pc which is in your classpath:
    $JAVA_TOP/oracle/apps/fnd
    $JAVA_TOP/oracle/apps/mwa
    $JAVA_TOP/oracle/apps/inv
    $JAVA_TOP/oracle/apps/wms
    Sukumaran.

  • Run a JAR file in Windows Mobile 6.1

    Hi, everyone. First of all sorry for my english. I'm from Chile y i have the following question...
    Can i install JVM in windows mobile 6.1? What I really need is to run a JAR file in Windows Mobile.
    If the answer is "NO", how else could it do?

    Any response Pls

  • To generate .cab file for windows Mobile from .jar file

    Hi All
    I have a .jar file(running on windows Mobile With J9). Now I want to convert it into .cab file (again must be compatible with Windows Mobile with j9).
    There are some tools available which can convert .jar to .cab file but resulting .cab file is not suppported by Windows Mobile with J9.
    So can any one help me regarding this as soon as possible...
    Thanks with regards,
    nitesh

    hi Rucha,
    The CAB file is available as a part of the ZIP file i had mentioned in my previous posts...
    Unzip that file. Then browse thro the folder structure to the Folder i had mentioned. You'll find the CAB files there.
    Regards
    Ak.

  • How to Transfer a JAR file from PC to a Java enabbled mobile?

    The project (creation of the JAR file) is developed in our local PC and transfer the JAR file to a mobile using Bluetooth. How to transfer the JAR file to a remote mobile?

    The situation is like this.
    We are transfering the JAR file from the PC to the Mobile using Bluetooth.
    Our J2ME project is already install on Nokia's 6600 and given to the salesman's on the field. Now i have updated my software and i want to upgrade the same on their mobiles. For this i can't call all the 2000 salesman's who are all over the country (India) to my place to get the latest software installed and configure.
    If i have a GPRS like solution for transfering my file from my PC to the remote mobile. I would be better. If you know any this related to this kindly reply me.

  • .jar file is not working properly :developed in NETBEANS

    Hi Gurus,
    i am using NETBEANS IDE 7.2.
    i am developing a project that interacts with databases 10g and COM ports of machine , these all processes are performed by .bat file which i am trying to run from jFramform , code works perfectly .bat file is also called perfectly when i run the project using F6 from the NETBEANS, for testing i placed some dialogue boxes on the form to test it ,
    but when i run executable .jar  file , form run successfully and dialogue box works perfectly but .bat file is not called by executable .jar file.
    this is how i call the .bat file...
      String filePath = "D:/pms/Libraries/portlib.bat";  
            try { 
              Process p = Runtime.getRuntime().exec(filePath); 
            } catch (Exception e) { 
                e.printStackTrace(); 
    and below is the contents of portlib.bat file
    java -jar "D:\SMS\SMS\dist\SMS.jar" 
    you must probably ask why i am calling a .jar file using .bat file .
    reason is that this .jar project sends message using GSM mobile , System.exit(); is compulsory to complete a job and then do the next one ,
    if i use the same file to execute this job it makes exit to entire the application (hope you can understand my logic).
    that's why i use extra .jar file in .bat file , when single job is completed .bat exits itself and new command is given.
    Problem is that code is working perfectly in NETBEANS when i run the project but when i run .jar then .bat file is not working  ,
    thanks.

    Thanks Sir ,
    You need to first test an example that works like the one in the article.
    There are plenty of other examples on the web - find one you like:
    http://javapapers.com/core-java/os-processes-using-java-processbuilder/
    I tried this one.
      try {
                ProcessBuilder dirProcess = new ProcessBuilder("D:/SMS/SMS/Send_message.bat");
                 File commands = new File("D:/SMS/SMS/Send_message.bat");
                 File dirOut = new File("C:/process/out.txt");
                 File dirErr = new File("C:/process/err.txt");
               dirProcess.redirectInput(commands);
                 dirProcess.redirectOutput(dirOut);
               dirProcess.redirectError(dirErr);
                 dirProcess.start();
            } catch (IOException ex) {
                Logger.getLogger(mainform.class.getName()).log(Level.SEVERE, null, ex);
    as instructed in the article i compiled  both the projects at same version or sources and libraries which is 1.7
    here is my version details
    C:\>javac -version
    javac 1.7.0_07
    C:\>java -version
    java version "1.7.0_07"
    Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
    Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)
    inside the NETBEANS IDE c:\process\err.txt  remains empty and code works perfectly , but when I run executable .jar file( by double clicking on that file in dist directry) then c:\process\err.txt becomes full with this error text and there is no response from calling D:\SMS\SMS\send_message.bat
    here is the error text
    java.lang.UnsupportedClassVersionError: sms/SMSMAIN (Unsupported major.minor version 51.0)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(Unknown Source)
      at java.security.SecureClassLoader.defineClass(Unknown Source)
      at java.net.URLClassLoader.defineClass(Unknown Source)
      at java.net.URLClassLoader.access$100(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Exception in thread "main"
    here is /SMS/SMS
    unknown source ?

  • How to open .jar files in nokia 6300

    hi,
    Recntly i downloaded few games to my nokia 6300, its in the jar format, when i tried to open it, i get a promt as file format not supported, Please guide how to access n open a .jar file in my mobile ? ? ? ?
    keer

    you can try to install it via pc suite.
    .jar file usually come along with a .jad file which describe the installation info. If the phone support java application, the installation should start when the download is complete.
    What's the law of the jungle?

  • Invalid jar file error

    invalid jar file error on mobile while installing my application..i have also checked cldc version and midp version of mobile and made my jar file according tom that..still that error is coming..

    {color:red}CROSS POSTED{color} Including this --
    {color:0000ff}http://forum.java.sun.com/thread.jspa?threadID=5240695
    http://forum.java.sun.com/thread.jspa?threadID=5240696
    http://forum.java.sun.com/thread.jspa?threadID=5240699
    {color}
    Cross posting is rude.
    db

  • JAR files and J2ME

    Just starting a J2ME project.
    An embarrassingly Noobie Question:
    1) All the classes that are supposedly "built-in" to my device (phone)
    do NOT need to be included in the deployed JAR file, right?
    2) Anyone know how to do that in Netbeans 5.0?
    Project -> Properties -> Build shows sources filtering
    but that doesn't include anything from my "input"/library .JARS.
    However, all the com.*, javax.* and java.* files are being included in
    my output JAR file and it causes failures in preverify and loading
    on the phone.
    HELP!!

    hi,
    any know this question
    please send me the procedures about how load my J2ME
    application(jad and jar file) into CDMA mobiles
    like(Nokia 6255,6235,6235i etc..).
    its very urgent for me,
    please anybody known this answer reply very soon.
    thanks a lot
    laxmi.Hi
    I am also having the same problem , any one has found solutions kindly inform. I want to install the spreadsheet viewer. Has any body developed solutions for the same - Please help
    Thanks a lot
    Ragupathi

  • How to raplace resource files in jar file by other files?

    Can I replace resource files (ex: some jpeg file which is in the jar file) when midlet execute on the phone. Is it possible?
    Usualy, we use getResourceAsStream(filename) to get resource data as stream.
    Is there some API function like 'setResource(filenmae,stream)' ??
    Assume that I have a javaME application which displays some image in the jar file.
    It is different from general image viewr program because it can display only
    image file in the jar file (it means image file is resource file of java applcation).
    In other words, when application executes, It shows always same image at first.
    but I want that user can change image displayed if user wnat to do. I want to embed
    authoring function into application. So user can replace resource file by other image files on the phone.
    How to do that?

    I already told you, you CAN'T replace resources in a jar file.
    [http://forums.sun.com/thread.jspa?threadID=5334325]
    Look into using rms to save content on a mobile device.
    Now do you have anything else you want to ask?
    db
    edit And it's also rude to repost the question here without posting a response on the other topic you started.
    Edited by: Darryl.Burke

  • Maximum size for JAR files on Nokia 3120 Classic

    I am trying to download and install a java app for a Nokia 3120 classic, but when installing I get an error message telling me that the file is too big at 5.7mb.
    I can't find the maximum size of .jar files for this phone anywhere.
    Can anyone let me know what this is and whether there is any way to get the app to work.
    Many thanks.
    Alan Watson

    YES THERE IS A WAY!! I only got this information from someone else. Thanks for that person.
    Here are the steps:
    1. Download the jar file you want to install, to your computer. Now open My computer, and on the upper left corner you shall see a menu, click the "Tools" button and then click "Folder options..." A little window will appear. Click the "View" tab. On this window you need to find an option "Hide extentions for known file types" below "Advanced settings". Then unmark or uncheck the box.
    2. Now when you open my computer and go to the folder where you had downloaded the java file, the file name will read "(anyfilename).jar". HERE IS THE TRICK.
    3. Rename the last part of your file. Instead of .jar change it to .jpg so that it reads  "(anyfilename).jpg"
    4. Now copy the renamed file and paste it in your mobile's C: or Memory Card drive.
    5. Once you had pasted, rename the copied file back to what it was. i.e "(anyfilename).jar"
    BASICALLY the phone limits a file with a ".jar" extention, you can fool it by renaming the extention to ".jpg" and then once the file is copied into the phones C:drive you can change the extention back to ".jar" by renaming it.
    Share it. Hope it works for you! God bless...
    Only One Life Twill Soon Be Past.
    Only What's Done For Christ Will Last.

  • How to send .jar files via bluetooth in Nokia 6500...

    I am not able to send and see the option of sending jar files vai bluetooth . I want to know how to send it.
    Kindly reply ASAP.
    Thanks
    Abhishek

    Its something like , I already have it on my mobile and wanna transfer that file to my another same mobile.
    This is case when i am away from my comp. so that i can transfer songs,images etc via bluetooth but not jar files. Is there any option or any software for Nokia 6500 slide ??
    I saw in some othen N's phone they have file manager option and they transfer app. via that through bluetooth.
    But there is no option in NOKIA 6500 SLIDE ??? Is it a bug ???
    Thanks
    Abhishek

  • Problem in running JAR file

    Creating a mobile game using J2ME. The JAR file created by Netbeans IDE when bein run on mobile gives an error: JAR and JAD file did not match.
    Manifest file:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.6.2
    Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.)
    MIDlet-1: Maze, Maze.png, Maze
    MIDlet-Vendor: Unknown
    MIDlet-Name: Maze
    MIDlet-Version: 1.0
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0
    JAD file:
    MIDlet-1: Maze, Maze.png, Maze
    MIDlet-Jar-Size: 100
    MIDlet-Jar-URL: Maze.jar
    MIDlet-Name: Maze
    MIDlet-Vendor: Unknown
    MIDlet-Version: 1.0
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0
    Please consider the query..

    Hey I solved the problem in following order
    JLabel jbl = new JLabel(new ImageIcon(getClass().getResource("image/theme.GIF")));I have a tips to all who are absorving in this problem
    that you should check that whether the extension is in capitalletter or small letter in the jar. Follow the format in your coding
    thnx
    best regards
    tanvir

  • Build JAR file for phone?

    Hey, i just created this simple application in Java that just shows a small dialog. I've builed it with Netbeans and uploaded the .jar file to me mobile phone.
    When i tried to open the file on my phone i got the error message: 'invalid jar file'.
    So obviously you can't just run Java programs on a phone... What do i have to do inorder to run my Java programs on my phone!? Can someone please help me in the right direction.
    Thanks in advance.

    w00 wrote:
    Hey, i just created this simple application in Java that just shows a small dialog. I've builed it with Netbeans and uploaded the .jar file to me mobile phone.
    When i tried to open the file on my phone i got the error message: 'invalid jar file'.
    So obviously you can't just run Java programs on a phone... Obviously you can run java programs on phones since there are certainly hundreds of thousands if not millions doing so.
    And the fact that you uploaded it and it recognized it as a jar file suggests that it can do so on your phone.
    However that doesn't mean that you can run absolutely anything at all. Phones tend to be more restrictive than computers and so you must explicitly develop for the specific phone.
    What do i have to do inorder to run my Java programs on my phone!? 1. Research your phone.
    2. Determine exactly what parts of the java API are supported and what versions are supported.
    3. Verify that your phone is set up correctly.
    4. If it exists get a sdk/emulator for your specific phone to run your app in it first.

  • How to generate jar file?

    Dear All
    I developed a java mobile application and it contains an xml file and it works fine on mobile. But when I open it with WinRar and change some data in the xml file and then save it, it doesn�t work on the mobile. So, is there any windows application to generate jar file??
    Please help me
    Many thanks

    The trouble is, it does everything for youMore than "everything". I had Thumbnail view set in
    Windows ExplorerNo windows for me. Linux ;)
    and ended up with Thumbs.db in my
    jar. lol
    Since it was a very small app, that increased
    the size of the jar by more than 20%, which I
    consider unacceptable considering that most installs
    would be via a GPRS connection.Windows and it's crappy stuff
    and I hate it.In spite of all that, I still love it :) Expescially
    when I use 'reformat' on code posted by somebody
    newer to java than I am, just to be able to read it
    and see where the braces line up.Yes. In such cases we need it. But I still relish the console. The first IDE I used was Eclipse and now I am on Netbeans. But if any beginner uses and IDE I won't hesitate to spank him. I used the console for such a long time before shifting to an IDE. And moreover I shifted to an IDE because I have no other alternative here at office. Otherwise it would still be the console for me. But back on my laptop it's my good old buddy, the console ;)
    Using an IDE, imho, makes a lot of things easier, but
    using it blindly is, in the long run, going to create
    more problems than it solves.
    Just my 0.02, db

Maybe you are looking for

  • Can you have two itunes accounts on a single phone?

    Is it possible on an iphone 5s to have two itunes accounts? My child is getting to an age, where they should have their own itunes account.  We share music and applications and i do not want to have to re-buy everything?

  • LIVE workspace is missing... or is it? [9.2.0.6.0]

    Dear all Under Workspace|Workspaces in Enterprise Manager I expect to see "LIVE". This is the case for all my databases except one, which I'll call "AAPSD". Under AAPSD there are no workspaces listed in Enterprise Manager. However, if I connect to SQ

  • QE573 and QE570 error messages always getting printed while releasing orders from COR5 T-Code.

    Hi Experts, User is getting QE573 and QE570 printed messages while releasing every process order from COR5 T-Code. I tried to investigate this and found that these are printing messages for "Sample Drawing Instruction" and "Inspection instruction", a

  • Bookmarks using custom Word Styles

    Hello: I have created a Word Document (Microsoft Office Word 2007) with styles that I would like to use as (nestled) Bookmarks in my PDF document.  I am using Adobe Acrobat 9 standard.  I have been successful with this template in earlier versions of

  • CopyProfile fails when image deployed

    Hi, I am using Windows Server 2012 R2 Datacentre with WDS to capture, service and deploy Windows 8.1 Enterprise. I've created an unattend answerfile to be used on the various passes during deployment which works fine until I service the image offline