java on ipod touch?

Discussion in 'iPod touch' started by seamustry, Sep 22, 2008.

  1. seamustry macrumors member

    Aug 12, 2008
    i know that java/flash is not available on ipod touch/iphone so why does safari have a java option in the settings?

    i tried using a java website but it didn't work even with the java option enabled in safari settings.
  2. jsw Moderator emeritus


    Mar 16, 2004
    Andover, MA
    There's a JavaScript setting, but not a Java setting. JavaScript and Java share the first four letters of their names, but little else.

    As far as I know, there's no JVM on the iPhone/Touch.
  3. seamustry thread starter macrumors member

    Aug 12, 2008
    can you give an example that differentiates between javascript and java? like a website? thanks!
  4. quick5pnt0 macrumors regular

    Sep 14, 2008
    Javascript is used for tons of background stuff that you usually don't see or notice, Java on the other hand is used much like Flash, to build online games and that sort of thing.

    Just do a google search for java vs javascript
  5. partatoes macrumors newbie

    Jun 15, 2010
    working java on iphone

    there is a way!!!

    1.jailbreak your device. cydia, change your permissions to developer.
    3.go to the java tab in categories iedit, Classpath, jamvm, terminal, and jikes
    5.go into the NOTES app on your ipod, turn it horizontally and type this:
    public class test
    public static void main(String[] args)

    6.copy this by selecting all of the text. up iedit and make a new file called
    8.paste the code into the window and click save in the bottom left.
    9.launch terminal and type the following commands:
    cd Documents
    java test OR
    jamvm test

    11.for any questions regarding this or python programming on the ipod touch or iphone, email me at
  6. goosnarrggh macrumors 68000

    May 16, 2006
    All ARM cores starting with ARM9 and newer include a Java bytecode module (called Jazelle) inside the CPU, that introduces an alternate mode of operation which can execute something like >90% of compiled Java op-codes directly without any software help. However, special operating system support is required in order to provide the class libraries, support the remainder of Java op-codes which cannot be executed directly, and activate the Jazelle module to make use of it in software. Apple has not provided such support in iOS.

Share This Page