installing java programming

Discussion in 'Mac Programming' started by ashokformac, Apr 15, 2007.

  1. ashokformac macrumors member

    Joined:
    Mar 26, 2007
    #1
    how to bundle my java program with jre .? that is i want to run my java program if even jre is not already installed.

    thanks in advance ....
     
  2. Eraserhead macrumors G4

    Eraserhead

    Joined:
    Nov 3, 2005
    Location:
    UK
    #2
    Mac's always have Java bundled, but for Windows you could bundle your Java Application with Java in a Windows installer, frankly Linux users (who also probably don't have Java installed, though now it's GPL licensed they probably get it bundled too.) should be able to cope.
     
  3. ashokformac thread starter macrumors member

    Joined:
    Mar 26, 2007
    #3
    java program installation

    I am using mac os only .. how to bundle in it including jre .. ?
     
  4. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #4
    The basic answer is for OSX: don't. No one wants to download a gigantic file when a tiny one will do. You would need to "bundle" the correct Apple provided Java environment for the OS of the user (not all of them run on all versions of OSX). In addition you would need to check whether Apple and Sun allow redistribution.

    As noted above OSX already has Java installed. The correct, supported way to update this install is via Software Update.
     
  5. janey macrumors 603

    janey

    Joined:
    Dec 20, 2002
    Location:
    sunny los angeles
    #5
    Errr...since when? Java installations are trivial in most distros of Linux and I can't think of any reason why anyone wouldn't have it installed (of course...it's not installed by default with some distros...don't get me started on the idiocy of what used to be Ubuntu's Java installation procedure, although again, installs are trivial).
     
  6. Eraserhead macrumors G4

    Eraserhead

    Joined:
    Nov 3, 2005
    Location:
    UK
    #6
    AFAIK it's often not bundled with the core OS, I know of Linux users without Java, though that user has space problems.

    Really I meant bundled, not installed :eek:, then the whole sentence makes more sense.
     

Share This Page