# Script d'installation du JDK 5 sur MacOSX Lion et Mountain Lion (Mis à jour)

DevFeed: [Script d'installation du JDK 5 sur MacOSX Lion et Mountain Lion (Mis à jour)](<https://devfeed.tech/articles/script-d-installation-du-jdk-5-sur-macosx-lion-et-mountain-lion-mis-a-jour-26058.md>)

Original publisher: [Read original article](<https://blog.arkey.fr/2012/07/30/script-pour-installer-le-jdk-5-sur-macosx-lion/>)

Author: brice.dutheil@gmail.com (Brice Dutheil)

Published: 2012-07-30T00:00:00Z

Content type: tutorial

Language: fr

Sources: [The Coffee Workshop](<https://devfeed.tech/sources/the-coffee-workshop.md>)

Topics: [Java](<https://devfeed.tech/topics/java.md>), [IntelliJ IDEA](<https://devfeed.tech/topics/intellij-idea.md>), [Script](<https://devfeed.tech/topics/script.md>), [Terminal](<https://devfeed.tech/topics/terminal.md>)

Tags: [apple](<https://devfeed.tech/tags/apple.md>), [installation](<https://devfeed.tech/tags/installation.md>), [intellij](<https://devfeed.tech/tags/intellij.md>), [java](<https://devfeed.tech/tags/java.md>), [jdk](<https://devfeed.tech/tags/jdk.md>), [mac](<https://devfeed.tech/tags/mac.md>), [mac-os](<https://devfeed.tech/tags/mac-os.md>), [script](<https://devfeed.tech/tags/script.md>), [terminal](<https://devfeed.tech/tags/terminal.md>)

## AI overview

This tutorial presents a script for installing JDK 5 on Mac OS X Lion and Mountain Lion, where no standard installation path was available. It describes the required downloads and terminal steps, warns that the script requires root access and may damage the system, and explains how to add the installed JDK to IntelliJ.

## Source excerpt

MAJ 14/06/2016: La dernière version du script est maintenant sur un repository github dédié. MAJ 29/07/2012: Le script a été mis à jour pour fonctionner avec Mac OS X Mountain Lion. Le script a été mis à jour pour télécharger lui même le DMG chez Apple, en bref il n'y a plus qu'à commencer à l'étape 2.