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 ....
 

Eraserhead

macrumors G4
Nov 3, 2005
10,434
12,250
UK
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.
 

ashokformac

macrumors member
Original poster
Mar 26, 2007
34
0
java program installation

I am using mac os only .. how to bundle in it including jre .. ?
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
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.
 

janey

macrumors 603
Dec 20, 2002
5,316
0
sunny los angeles
...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).
 

Eraserhead

macrumors G4
Nov 3, 2005
10,434
12,250
UK
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.