Giter Club home page Giter Club logo

osx-jdk5-installer's Introduction

jdk5 install script for OSX starting from Lion.

Automate the install of JDK 5 on Lion, Mountain Lion, Mavericks.

The story behind this script

Apple decided to ship JDK6 with Lion and thus abandonned his own crafted JDK5. Also the Apple JDK5 dmg doesn't install anymore on Lion and newer versions of OSX. This script uses technics that have proven useful to get around that. At this moment this script has been tested up to Maverics. Hopefully it can work on later versions of OSX, but eventually Apple will change OSX significantly enough so that these hacks ar eno longer possible.

As a reminder this is an Apple implementation and the Sun implementation is not anymore maintained since quite some time.

Script in action

script in action French post http://blog.arkey.fr/2012/07/30/script-pour-installer-le-jdk-5-sur-macosx-lion/

Changes

Date Changes
2014/02/10 Updated the script to run on OSX 10.9 Maverick
2013/05/11 Added a few more guidance when Java Preferences is not available anymore
Added a simple example of a JDK switch function.
2012/08/25 This script didn't behave correctly when ran on 10.8.1
Added recommendation to always run this script after updates such as Java, XCode, OSX, etc.
2012/07/29 Added Mountain Lion support => Choose the 64bit JVM !
Can dowload the Java DMG itself if not present in same directory
Colored the output a bit, works well on a black background
Added tips for using the different JVMs
Removed 32bit mode for Mountain Lion (Thanks to Henri Gomez for pointing me to 'ditto')
2011/12/04 Added warnings and some more information on gotchas
2011/08/25 Updated this very comments
2011/08/22 Initial version (Thanks to Benjamin Morin for his blog post)
This script heavily inspired/copied from http://www.s-seven.net/java_15_lion

Note from the author

This project was orignally a gist, but given I don't have time to maintain it, I'd prefer to have a proper project that can accept pull requests that may keep this script up to date.

There's valuable comments on that gist!

LICENSE or WARRANTY

This free for everyone, but if can improve the script this would be very welcome.

There's NO warranty at all, this can break havoc on your machine. I am not responsible for any of that that's your responsibility to use this script or not. This script has been working on my machine.

Since I've decided to use updated software, and develop on updated JDK, I don't have to use JDK5 anymore. So that means that I can't provide help anymore. Nor update that script frequently.

osx-jdk5-installer's People

Contributors

bric3 avatar

Watchers

Kris Rott avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.