- #Java 1.6 mac 10.5 how to#
- #Java 1.6 mac 10.5 mac os#
- #Java 1.6 mac 10.5 install#
- #Java 1.6 mac 10.5 software#
JavaforMacOSX10.5Update2 JavaforMacOSX10.5Update3 #!/bin/sh# File Name: mand# Removing files and folders for Java installed on Mac OS 10.5.rm -rf "/Library/Java" "/Library/Internet Plugins/JavaPluginCocoa.bundle" "/System/Library/Java" "/System/Library/Frameworks/amework/" "~/Library/Caches/Java"# Using pkgutil to forget old Java related packages.pkgutil -forget -forget -forget 10.5Update2pkgutil -forget 10.5Update3pkgutil -forget 10.5Update4pkgutil -forget 10.5Update5# Installing the Java packages from 10.5.4, as well as Java Updates 2 and 3.
#Java 1.6 mac 10.5 install#
I copied the Java packages from the OS X Install DVD (located inside /System/Installation/Packages), so I could roll this out to alot of Macs via SSH, from a common network volume.Change the JavaFix directory in the installer commands to point to your directory where these packages are stored.Here are the locations for Update 2 and 3, which I downloaded to the same directory.
#Java 1.6 mac 10.5 software#
Heck, even Microsoft has some sort of OS restore method, although that really doesn't help being on the same drive and with all the malware they experience.Īpple needs to apply the "Time Machine" concept to the OS, to protect against software failure, exploitation and hard drive failure. Just option boot to the "Time Machine" drive and go back to a previous OS X install, then Software update from there.ĭata is preserved, OS X is restored to a previous state. "Time Machine" applied to OS X itself, with option boot abilities, would have allowed the "Java" problem to be easily remedied. Now Apple has totally shunned this method in their "Time Machine" concept, it could have been added as a "Advanced Feature" hidden in some sub-menu someplace to avoid confusion (or only appears when option booting for instance), but would have saved the day in this instance. (carbon copy cloner or super duper, no compensation for mention) Rather the easiest way to reinstall Java on OS X (and anything else that might arise for that matter, like a hard drive crash) is simply to clone one's boot drive at regular intervals. That's cool and all if your into that, most can't do that.Īpple has gifted us with "Time Machine" although a great concept, it makes it easy for one to automatically backup their data, it does nothing to solve a problem like the one in the article. Look, I know it tests one's geeky skills to be able to reinstall Java on OS X. Next, insert the Leopard disk and run the following in Terminal to reinstall Java: So each command looked like this: sudo pkgutil -forget. I used forget the following packages: Java, JavaSE6, JavaToolsLeo, JavaUpdateForMacOS10.5Update2, and JavaUpdateForMacOS10.5Update3. With the results from the above command, use the pkgutil -forget command to "forget" about all of the Java packages in the list. Open Terminal and run sudo pkgutil -packages. You may have to use Terminal and sudo to delete the folders in /Library and /System. Now, after this next step, you will be beyond the point of no return.ĭelete /Library/Java, /Library/Internet Plug-ins/JavaPluginCocoa.bundle, /System/Library/Java, /System/Library/Frameworks/Java/* and your user's Library/Caches/Java folder (not sure whether this mattered). Next, make sure you have the latest-available shrink wrap version of OS X (it was 10.5.6 when I did this).
Save these files in an accessible place - you'll use them later.
(I used Updates 1, 2, adn 3, even though 1 was not a prerequisite for 2). Here's what I did to completely reinstall it:ĭownload (from Apple's Support Downloads page) but do not install the latest Combo Update for OS X, as well as all of the JavaForMacOSX10.5s you see there. Apparantly the user was complaining that Java would not work in Safari and, while trying to fix the problem, the Help Desk deleted enough required files that Java was completely trashed.
#Java 1.6 mac 10.5 how to#
I was asked to figure out how to reinstall Java on a Mac without reinstalling the OS.