InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Leopard 10.5 (http://infinitemac.com/forumdisplay.php?f=85)
-   -   Updating Java without OS X Upgrade (http://infinitemac.com/showthread.php?t=2012)

Aydinz 01-27-2009 05:04 AM

Updating Java without OS X Upgrade
 
im running my AMD Hackintosh on 10.5.2 and i dont want to go through all the hassel of trying to upgrade it to the latest version of OS X until i upgrade my computer at which time i will be also reformatting my disks. However some of the software im trying to install doesnt work because i have out of date Java software and whenever i try to update my Java it tells me i need to upgrade to the latest version of OS X, is there any way of getting around this?

Cheers

erick2red 01-27-2009 03:08 PM

i don't think u can.
but u can try, i don't take any responsibilities for this, download java dmg update and then open it with pacifist, extract the files and copy it to the place they belong.

erick

nfoav8or 01-27-2009 06:14 PM

its not that simple. permissions and file ownership will not be correct for most (if not all) of the files.

you can pull the distribution file with Pacifist then open it with Text Edit or BBEdit (better) and look for the section
Quote:

if( system.compareVersions(system.version.ProductVersi on, "10.5.4") < 0)
{
my.result.message = system.localizedStringWithFormat('VC_Version_messa ge', '10.5.4');
my.result.type = 'MustNotUpgrade';
return false;
edit this to show
Quote:

if( system.compareVersions(system.version.ProductVersi on, "10.5.1") < 0)
{
my.result.message = system.localizedStringWithFormat('VC_Version_messa ge', '10.5.1');
my.result.type = 'MustNotUpgrade';
return false;
Now repackage and install. for more info on how to do this, I'd recommend:
http://developer.apple.com/documenta...pkgutil.1.html
http://s.sudre.free.fr/Stuff/PackageMaker_Howto.html look to the scripts section of this page.