How to Simulate Jar files on PC

629

What you are looking for is a J2ME emulator, there are many of them and it appears that many have some limitations such as limited 3D support, slowness and other bugs.

There is Micro Emulator which according to this site can run Opera Mini and is an indication that it is reasonably complete.

I also found Java Emulator which looks to be more game orientated.

MPowerPlayer also appears to have another Java MIDP emulator as reviewed here

There are just too many emulators to count, and you're going to have to review them to see which suits your needs best.

Share:
629
Rafael
Author by

Rafael

Updated on September 18, 2022

Comments

  • Rafael
    Rafael over 1 year

    I need my script to echo something while processing. But everything I echo after the the creation of the phpexcel object goes to buffer and only echoes after the script is finished.

    Is there a workaround on this?

    Here is some part of the code:

    $inputFileName = 'index.xlsx';
    echo "bla<br>";
    //  Read your Excel workbook
    try {
        $inputFileType = PHPExcel_IOFactory::identify($inputFileName);
        $objReader = PHPExcel_IOFactory::createReader($inputFileType);
        echo "Hi<br>";
        //Everything before here does not go to buffer.
        $objPHPExcel = $objReader->load($inputFileName);
        //Everything after here goes to buffer and only echoes after the script has finished running
        echo "Hi<br>";
    } catch (Exception $e) {
        die('Error loading file "' . pathinfo($inputFileName, PATHINFO_BASENAME) 
        . '": ' . $e->getMessage());
    }
    ob_implicit_flush(true);
    ob_end_flush();
    echo "Hi<br>";
    

    Already tried ob_flush() and flush() after the echos, but neither of them works.

    Tried everything here also: How to flush output after each `echo` call?

    I need it to make a COMET solution, and if i can't output the echos right away, there is no way to achieve it.

    Any ideas on how to make the script talk to javascript without outputting echos during its process would be welcome!

  • Shamim Hafiz - MSFT
    Shamim Hafiz - MSFT over 12 years
    Thanks for the heads-up :). I now have resources to look into and evaluate.
  • Shamim Hafiz - MSFT
    Shamim Hafiz - MSFT over 12 years
    On first hand experience, Java Emulator looks to be better. I tried with one app from Mobilerated, Micro Emulator crashed but Java Emulator was successful.