Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ashokformac

macrumors member
Original poster
Mar 26, 2007
34
0
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 ....
 
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.
 
java program installation

I am using mac os only .. how to bundle in it including jre .. ?
 
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.
 
...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.
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).
 
Errr...since when?

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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.