Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Removing old versions of the JDK
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Removing old versions of the JDK



Hi,

Over time I have been updating the Java VM on my Mac with the latest releases, but just today I realized that in /Library/Java/JavaVirtualMachines there are actually a few JVMs installed:

drwxr-xr-x 3 root wheel 102 Jun 29 2011 1.6.0_26-b03-383.jdk
drwxr-xr-x 3 root wheel 102 Nov 1 18:45 1.6.0_29-b11-402.jdk
drwxr-xr-x 3 root wheel 102 Mar 28 02:55 1.6.0_31-b04-413.jdk
drwxrwxr-x 3 root wheel 102 Mar 16 02:15 1.7.0.jdk
drwxr-xr-x@ 4 root wheel 136 Jan 20 03:33 JDK 1.7.0 Developer Preview.jdk

All these JVMs are registered in the Java preferences app, actually the old (vulnerable) versions were still active and had a higher priority than the newer versions. This surprised me a bit.

I have some questions about this…..

- is it correct that the JVM installers do not remove older and insecure versions of the VM ?
- in the Java preference panel: after installing a new version, why hasn't a newer version a higher "priority"?
- can I just remove the older versions of the VM?
- would it a good idea to have older versions removed automatically?

cheers

Dannes




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.