Lawand's Blog

Opera Mini For Windows

with 31 comments

My favorite mobile web browser, Opera Mini turned out to be deployable under desktop platforms such as Microsoft Windows and here are the steps to do so:

Installation

~you can alternatively download the Opera Mini for Windows Installer package below~

  1. Be sure you have the latest Java Runtime Environment (JRE) for Windows installed.
  2. Download and extract the latest release of MicroEmulator to a desired directory. You want the actual program, not the source files. If you need a compatible compression utility, I suggest 7-Zip. Be sure to completely decompress and un-archive the entire archive, which could require a couple of steps depending upon the compression utility used.
  3. Download the Opera Mini *.jad and *.jar files to the apps directory (in MicroEmulater’s extraction directory). i.e. “microemulator-2.0.3/apps/”
  4. Launch “microemulator.jar” in the directory by double clicking the file. If it fails to load, verify you have the latest JRE installed (step 1). If it still fails, you can instead try using “java -jar microemulator.jar” from the command line in the directory.
  5. [optional] With MicroEmulator now open, click options, select device, then add. Navigate to the directory where MicroEmulator is installed, then enter the devices directory. Select the “microemu-device-resizable.jar” device file, then click open. Set the newly selected device as the default. Click OK to proceed.
  6. [optional] (You can instead maximize the window) Click the resize button in the lower right-hand corner of MicroEmulator. Enter your desired dimensions, such as the common 800×600 or 1024×768. Click OK. The MicroEmulator interface will scale to the entered dimensions.
  7. Click file, click open JAD file, navigate to the required directory if needed, select the Opera Mini Jad file (i.e. “opera-mini-4.2.13337-advanced-en.jad”), then click open.
  8. An Opera Mini selection should now appear in the MicroEmulator interface. Select it, and click start. Opera Mini should load.

~If you want to enable the ability to save web pages (in OBML format) and/or download files, the following steps are for you, otherwise you’re done~

  1. Right click “microemulator.jar” and select create shortcut
    OperaMini-12
  2. [optional] Rename the shortcut into “Opera Mini”
  3. Right click the shortcut and choose “Properties”OperaMini-14
  4. Change the “Target” field to (copy the whole bolded line):
    C:\WINDOWS\system32\java.exe -cp microemulator.jar;lib/microemu-jsr-75.jar org.microemu.app.Main –impl org.microemu.cldc.file.FileSystem org.microemu.examples.fcview.FCViewMIDlet apps\opera-mini-4.2.13337-advanced-en.jad
    (you might need to change “opera-mini-4.2.13337-advanced-en.jad” in the last line if you have a different version, and I am assuming that you installed Java in the same place I installed it, which is the default)OperaMini-15
  5. Copy and replace the “config2.xml” file into “C:\Documents and Settings\<your user name>\.microemulator\”
  6. You’re all set. You can use the shortcut (named Opera Mini) to launch MicroEmulater with Opera Mini already opened (step 7 of the first group is no longer necessary)

~some steps are retrieved from a forum thread~

Opera Mini under MicroEmulator

Opera Mini under MicroEmulator

Extras

Windows Installer

You can download this Windows Installer instead of performing all previous steps manually :)

You just need to make sure Java Runtime Environment (JRE) for Windows installed, then install Opera Mini for Windows, run it for the first time (using the Opera Mini shortcut found in the installation directory), then copy and replace the “config2.xml” file into “C:\Documents and Settings\<your user name>\.microemulator\” and you’re all set.

You might also want to perform steps 5 and 6 of the first group :)

Note that this installer doesn’t necessary contain the latest versions of MicroEmulator and/or Opera Mini. Version currently included are: 2.0.3 and 4.2.13337-advanced-en respectively.

Text Input

Click the text field, enter the text you want, then use F1 for “Abort” and F2 for “OK”. (Thanks Martin!)

I heard that this is fixed in the beta of the next version of MicroEmulator.

Proxy

You can configure Opera Mini to connect through a proxy server, downloading the alternative “config2.xml” file and changing the following lines of it (search for them):

<system-property name="http.proxyHost" value="webcache.mydomain.com"></system-property>
<system-property name="http.proxyPort" value="8080"></system-property>

So that “webcache.mydomain.com” would be replaced by your desired HTTP Proxy, and “8080″ would be replaced by it’s corresponding port.

The Benefits

Opera Mini web browser is essentially a user interface. Much of the actual processing is done via Opera’s intermediate servers, with content optimized and compressed on the back-end for delivery over the Internet to the Opera Mini front-end. Which also means that the content can’t be filtered by ISPs (at least without meaning to specifically filter Opera Mini), thus there are no blocked websites.

Despite being designed for smart phones and similar hand held devices, there are a couple of good reasons for deploying Opera Mini on the Windows platform. Most importantly, web developers can verify their code against the Opera Mini rendering engine. Opera Mini can also provide a rather nice alternative web browser in bandwidth-limited situations, such as using a dial-up connection, since Opera’s intermediate servers optimize and compress content.

Update (2009-08-27):

  • Added steps necessary to activate the Save Page / Download Files features (step 3 is updated, pay attention)
  • Added the Windows installer
  • Added the Text Input tip
  • Added help to connect through a proxy

Written by lawand

2009-01-12 at 00:20

31 Responses

Subscribe to comments with RSS.

  1. WoW!!! Excellent tutorial! Works great! Thanks! :)

    Girl

    2009-03-13 at 05:56

  2. Is the emulator work on wind? Since i have no windows os. Thank for sharing.

    sadewaafandi

    2009-06-10 at 19:02

    • I didn’t understand your question.
      If you want to know if the emulator works on Windows then the answer is obviously yes since the whole tutorial is for Windows.
      And if you want to know how to use it on an OS other than Windows then here are some alternatives:
      Instructions for Mac OS
      Instructions for GNU/Linux (Ubuntu)
      Though these are untested so proceed with caution :)

      lawand

      2009-06-10 at 19:26

  3. [...] Helpforlinux dan Lawand Possibly related posts: (automatically generated)VirtualBoxZekrSubtitle [...]

  4. Thanks for a great guide! However it took me a while to figure out how to enter text into forms etc (for example to search on google), but eventually I found out how to do it: Click the text field, enter the text you want, then use F1 for “Abort” and F2 for “OK”. F1 and F2 will emulate the two (?) function buttons on the phone.

    Martin

    2009-07-16 at 02:35

    • Thanks for the tip!
      I am gonna include it in the post on the next update.

      lawand

      2009-07-30 at 14:46

  5. I fail in steps 4.
    i think i have JRE on my windows:
    C:\Program Files\Java\jre1.5.0_10
    C:\Program Files\Java\j2re1.4.2_16

    when i try command line “java -jar microemulator.jar”
    it generates error like this:
    *****************************
    Exception in thread “main” java.lang.UnsupportedClassVersionError: org/microemu/
    app/Main (Unsupported major.minor version 48.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)
    ******************

    Alf

    2009-07-30 at 07:37

    • Make sure you have Java Runtime correctly installed by checking this page:
      http://www.java.com/en/download/help/testvm.xml

      Or by entering the following in the command line:
      java -version

      lawand

      2009-07-30 at 14:51

      • Forget about that, try the Windows installer (hope it works for you)

        lawand

        2009-08-28 at 01:23

  6. Hi, it works wondefully for me!
    How do I play video?
    It says to install flash player, but
    fo what o.s. should i choose- since i am emulating?
    Thanks!!!

    goodlookingguy

    2009-07-30 at 20:18

    • Currently, there is no way to display Flash files inside Opera Mini, so you can’t play video.

      But I’ve heard that a Flash support is planned for one of the upcoming versions…

      lawand

      2009-07-31 at 16:25

  7. thanks lawland.
    That would be cool to have video player
    for this since i am on dialup.
    thanks for answering all of our questions so
    speedily fast.
    you probably cant download files either some way?
    Yet?
    Thanks Lawland

    ~56k right now guy

    goodlookingguy

    2009-08-06 at 22:53

    • I have a way to save files and save pages, will post it soon…
      BTW, my name is Lawand not Lawland :)

      lawand

      2009-08-06 at 22:58

      • Hi Lawand Sorry about the name. Lawland just has a ring to it, oh well. : ) Anyway thanks for answering my questions! opera mini 56k great thing

        goodlookingguy

        2009-08-17 at 11:09

  8. how to download files ?????????????????????

    johny

    2009-08-11 at 19:26

    • The post is updated to include steps necessary to enable downloading files and saving web pages…

      lawand

      2009-08-28 at 01:25

  9. Hi Lawland, good post on operamini on windows. My OS is Vista, and pls i am not techie. I have tried to download the emulator but could not. Kindly send email on how to get it done. I now have OMLD on my fone. Do i download the emulator to my fone? Ditto the JRE and J2ME? Sorry for the silly questions.

    Peterson

    2009-08-15 at 03:58

  10. hey, i did it it’s easy
    thank you

  11. i m not able to use the previously saved obml files ..
    when i change the folder to filesystem \c it stops loadding and error comes as
    org.microemu.app.util.MIDletThread.run(MIDletThread.java:101)
    g.NullPointerException
    at a.Code(Unknown Source)
    at Code.Code(Unknown Source)
    at Code.Code(Unknown Source)
    at Code.Code(Unknown Source)
    at Code.Code(Unknown Source)
    at Code.Z(Unknown Source)
    at Code.Code(Unknown Source)
    at a.Code(Unknown Source)
    at a.Code(Unknown Source)
    at a.c(Unknown Source)
    at a.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    at org.microemu.app.util.MIDletThread.run(MIDletThread.java:99)

    plz solve it thanks in advance

    rajeev

    2009-09-06 at 21:47

    • Did you perform the steps manually or did you use the installer?

      lawand

      2009-09-07 at 01:23

  12. i performed d steps manually ……….

    rajeev

    2009-09-07 at 11:46

    • Well then, try the installer…

      lawand

      2009-09-07 at 17:08

  13. hey buddy i have tried dis one also but it seems no benefit …………..

    while i hav updated my java today for dis ……….

    y previously saved obml files r not being opened in it ……

    i m jst fed up with dis one……..

    rajeev

    2009-09-07 at 20:02

  14. sum files are being studied but not all files are being loaded by the windows installer………….

    and giving the same problem again

    rajeev

    2009-09-07 at 20:38

  15. hey man whr r u ?

    the files which r not being loaded are recovered and saved file from the formatted mobile card ………..
    i think is dis d reason dat’s y it is not being loaded
    and if so y it is can u plz help me ?

    rajeev

    2009-09-09 at 09:24

    • Maybe that’s the reason…
      To make sure about that, I advice you to try to save a new page in “Opera Mini for Windows” then try to open it, and if everything went OK, then those pages which are saved and recovered haven’t been recovered successfully…
      BTW can’t you try to re-save those pages?

      lawand

      2009-09-09 at 19:55

  16. ur advice is vry nice bt how can i resave those pages ..

    dey have no name dey r saved as

    1). 5c1e1de0.obml
    2). 6c1665d1.obml
    etc.

    so how can i kno wat’s d exact name of the file ?

    if u can help i’ll be oblized to u …..

    rajeev

    2009-09-10 at 15:47

    • I thought you knew the addresses of these pages so that you can enter the addresses in opera mini and save the pages. But in this case you are stuck…

      lawand

      2009-09-10 at 17:07

  17. Today I checked out the new version (v5 beta) of Opera Mini, and it includes an on screen keyboard as well as multi-tab support and a sleek interface.
    Once it gets out of beta, I’ll update the installer to include it…

    lawand

    2009-09-16 at 20:26

  18. Thank U so much:)

    Alex

    2009-10-04 at 15:39

  19. If you use Microemulator 2.02 – you dont have to use f1 or f2.

    Christopher

    2009-10-20 at 09:44


Leave a Reply