![]() # Even after installing an Oracle version of Java that version info is not updated. # and that 'java -version' will not give the true Internet Plug-In version. ![]() ![]() # will prompt to install Apples old version of Java SE 6 if not installed, # Keep in mind that on a clean install of 10.8 the command 'java -version' # Modified to include version by Craig Ernst on 3/17/14. # Original version for vendor by Richard Trouton on 5/8/13. You really need to use an extension attribute that see what version is really installed and then base smart groups and policies on that. As with other extension attributes, if your users have admin rights to their box and you're not stopping them from upgrading things like Flash, Flip4Mac, SilverLight, and Java on your own you can't really base your smart groups on the last installed Casper Package of those installed by you. Here's Java's:Īnd here's my script I'm submitting below. It's always good to look under the Third-Party section of the Nation to see if this stuff exists there. S_VERSION=$( /usr/bin/defaults read "$'īased on what had already submitted for an extension attribute, I'm submitting this one today that goes a little further and also gets the version. PLUGINPATH="/Library/Internet Plug-Ins/ugin" # returns values like "Not installed", "JavaInstallOnDemand: 14.5.0", "JavaJDK16: 14.5.0" or "Java 7 Update 09" # checks installed version of Java Applet Plugin # Christoph von Gabler-Sahm (email-redacted) I populate this by Script and the date type is String. Questions? Comments? Have a fix? Post them below or e-mail us!īe sure to check us out on Twitter and the CNET Mac forums.I run the script that some others have implemented as well that franton is using. The future of Java on OS X is unclear, but for now it appears when Apple drops development of Java that Oracle will assume the reins and maintain future releases of the runtime for OS X, should demand for it by Mac users continue. As with Rosetta in Snow Leopard, if you run such a program the OS will trigger Software Update to download and install the required Java runtime, and will ask you if you would like to do this. In addition to being available as a standalone installer, the OS should present the option to install Java if you run any program that requires Java to be present. The update is available for download from the Java for OS X Lion Web site. This window will pop up if you do not have Java installed and have launched an application that requires Java.Īpple has announced it will not be maintaining an in-house version of Java, but for now Apple has made available Java 1.6.0_26 (the same version that is available for Snow Leopard) for people to install in OS X 10.7 Lion if needed. Nevertheless, many programs (including popular tools like Adobe CS4 and earlier) still require alternative runtimes like Java, and even though Apple has left Java out of the OS by default, you can still get it for the OS if you need it. Apple is pushing developers to use 64-bit code instead of 32-bit code even for applications that do not need it, use native Intel code instead of maintaining PowerPC code and optimizing its performance under Rosetta (which is now missing from the OS), and implement Objective-C Coco APIs instead of Java and alternatives. With the release of OS X 10.7 Lion, Apple has made an effort to streamline the OS to the prevalent technologies used in OS X and on the Mac platform in general.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |