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…
- Primary Author
- @Aydinz Published 2009-01-27
- Collection
- Leopard 10.5
- Archival Footprint
- 5,502 historical reads · 2 curated field notes (from 3 dispatches) · 2009-01-27
- Credited Voices (3)
- @Aydinz@erick2red@nfoav8or
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?
Synthesized Community Field Notes
2 technical responses curated from 3 original dispatches
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
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
if( system.compareVersions(system.version.ProductVersion, "10.5.4") < 0) { my.result.message = system.localizedStringWithFormat('VC_Version_message', '10.5.4'); my.result.type = 'MustNotUpgrade'; return false;
edit this to show
if( system.compareVersions(system.version.ProductVersion, "10.5.1") < 0) { my.result.message = system.localizedStringWithFormat('VC_Version_message', '10.5.1'); my.result.type = 'MustNotUpgrade'; return false;
Now repackage and install. for more info on how to do this, I'd recommend:
developer.apple.com/documentation/Darwin/Reference/ManPages/man1/pkgutil.1.html
s.sudre.fr ee.fr/Stuff/PackageMaker_Howto.html look to the scripts section of this page.
Sources & Contributor Provenance (3 credited usernames · Thread #2012)
| Username | Dossier Contribution | Dispatches | Active Window |
|---|---|---|---|
| @Aydinz | Primary Author | 1 | 2009-01-27 |
| @erick2red | Contributor | 1 | 2009-01-27 |
| @nfoav8or | Contributor | 1 | 2009-01-27 |