• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: rollback OSXS JVM 1.4.2 to 1.4.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rollback OSXS JVM 1.4.2 to 1.4.1


  • Subject: Re: rollback OSXS JVM 1.4.2 to 1.4.1
  • From: Jonathan Rochkind <email@hidden>
  • Date: Thu, 19 Feb 2004 14:58:06 -0600

Why the heck doesn't the 1.4.2 installer keep 1.4.1 around, anyway? Things seem to be structured to allow this. See how /System/Library/Frameworks/JavaVM.frameworks has a "Versions" directory, with potentially multiple JVM/JRE versions, with various soft link directories pointing to directories the 'current' one. OSX seems to keep both 1.3.1 and 1.4.1 around. Why not 1.4.1 and 1.4.2?

If that were only so, all you'd need to do to 'rollback' is change all those softlinks to point to the 1.4.1 installation.

Go figure.

--Jonathan

At 10:31 AM -1000 2/19/04, Art Isbell wrote:
On Feb 19, 2004, at 9:42 AM, Jonathan 'Wolf' Rentzsch wrote:

I have a client who mistakenly upgraded 10.3 Server to Java 1.4.2. As we
all know, this breaks WO deployment (JavaMonitor fails to start instances
after the upgrade).

I know the "official" way to get back to 1.4.1 is to reinstall OSXS and
software-update all the way, just short of 1.4.2 itself.

This is painful. Does anyone know of a way to downgrade without
reinstalling the OS?

Theoretically, one could uninstall Java 1.4.2 then reinstall Java 1.4.1. Because uninstall is not supported, you'd need to do it yourself. Installer packages frequently contain scripts that are run before, during, and/or after the installation. You could look at these scripts to see whether you could "reverse" or ignore what they did. If so, installer packages also contain a file Archive.bom that contains the package's bill of materials. "lsbom Archive.bom" will output each file and directory in the bill of materials. After reversing the order of this listing, you could delete each file and for each directory, check to see whether it's empty before deleting it. A script could be written that would perform the file and directory removal using the Archive.bom contents.


I don't believe there are any software updates yet that depend on Java 1.4.2, so downgrading to Java 1.4.1 shouldn't break anything else.

Whether this is less painful than an OS reinstall and whether this would actually work may be debatable.

Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >rollback OSXS JVM 1.4.2 to 1.4.1 (From: "Jonathan 'Wolf' Rentzsch" <email@hidden>)
 >Re: rollback OSXS JVM 1.4.2 to 1.4.1 (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: rollback OSXS JVM 1.4.2 to 1.4.1
  • Next by Date: Re: rollback OSXS JVM 1.4.2 to 1.4.1
  • Previous by thread: Re: rollback OSXS JVM 1.4.2 to 1.4.1
  • Next by thread: Re: rollback OSXS JVM 1.4.2 to 1.4.1
  • Index(es):
    • Date
    • Thread