Download Java 7 Update 45 For Mac

See JDK 7 and JRE 7 Installation Guide for general information about installing JDK 7 and JRE 7.

Mar 23, 2016 Download Java for OS X directly from Oracle. Get the latest version If an app or webpage you want to use asks you to install Java software, you can download the current version of Java for OS X directly from Oracle's website. If you are interested the game Minecraft, then you need to run Java, we have exactly the right version and you can download it for free. The most reliable way to launch the installer is from a terminal like this: java -jar i2pinstall1.5.0.jar.This will launch the GUI installer. Depending on how your computer is set up, you may be able to start the installer by double-clicking the 'i2pinstall1.5.0.jar' file or right-clicking the file and selecting 'Open with Java'. A: If you have not yet installed Apple's Java Mac OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences app. See Note for Users of Macs that Include Apple Java 6 Plug-in. There can be multiple JDKs installed on a system – as many as you wish.

See the Mac OS X Platform Install FAQ for general information about installing JDK 7 on Mac OS X.

Contents

System Requirements

  • Any Intel-based Mac running Mac OS X 10.7.3 (Lion) or later.
  • Administrator privileges.

Note that installing the JDK on a Mac is performed on a system wide basis, for all users, and administrator privileges are required. You cannot install Java for a single user.

Installing the JDK also installs the JRE. The one exception is that the system will not replace the current JRE with a lower version. To install a lower version of the JRE, first uninstall the current version.

JDK 7 Installation Instructions

Installation of the 64-bit JDK on Mac Platforms

When you download the Java Development Kit (JDK), the associated Java Runtime Environment (JRE) is installed at the same time. The JavaFX SDK and Runtime are also installed and integrated into the standard JDK directory structure.

Depending on your processor, the downloaded file has one of the following names:

  • jdk-7u<version>-macosx-amd64.dmg
  • jdk-7u<version>-macosx-x64.dmg

Where <version> is 6 or later.

1. Download the file. Before the file can be downloaded, you must accept the license agreement.

2. From either the Downloads window of the browser, or from the file browser, double click the .dmg file to launch it.

3. A Finder window appears containing an icon of an open box and the name of the .pkg file Double click the package icon to launch the Install app.

4. The Install app displays the Introduction window. Click Continue.

4a. Note that, in some cases, a Destination Select window appears. This is a bug, as there is only one option available. If you see this window, select Install for all users of this computer to enable the continue button. Click Continue.

5. The Installation Type window appears. Click Install.

6. A window appears which says 'Installer is trying to install new software. Type your password to allow this.' Enter the Administrator login and password and click Install Software.

7. The software is installed and a confirmation window appears. Click the ReadMe for more information about the installation.

After the software is installed, delete the dmg file if you want to save disk space.

Determining the Default Version of the JDK

A: If you have not yet installed Apple's Java Mac OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences app. See Note for Users of Macs that Include Apple Java 6 Plug-in.

There can be multiple JDKs installed on a system – as many as you wish.

When launching a Java application through the command line, the system uses the default JDK. It is possible for the version of the JRE to be different than the version of the JDK.

You can determine which version of the JDK is the default by typing java -version in a Terminal window. If the installed version is 7u6, you will see a string that includes the text 1.7.0_06. For example:

To run a different version of Java, either specify the full path, or use the java_home tool:

For more information, see the java_home(1) man page.

Uninstalling the JDK

To uninstall the JDK, you must have Administrator privileges and execute the remove command either as root or by using the sudo(8) tool.

Navigate to /Library/Java/JavaVirtualMachines and remove the directory whose name matches the following format:*

For example, to uninstall 7u6:

Do not attempt to uninstall Java by removing the Java tools from /usr/bin. This directory is part of the system software and any changes will be reset by Apple the next time you perform an update of the OS.

*The 7u4 and 7u5 releases were installed into a directory that does not follow this format. To uninstall 7u4 or 7u5, remove the 1.7.0.jdk directory from the same location.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.
Details
Written by Nam Ha Minh
Last Updated on 05 May 2020 | Print Email
In this article, I will guide you to download and install Java 8 (JDK 8) on Windows operating system. Though Java 8 is a quite old version (released in 2014), it is still in used by many organizations and preferred by many programmers. That’s why Oracle extends commercial support for JDK 8 until December 2030.To download JDK 8, head to Java SE Development Kit 8 Downloads page and choose a download file suitable for your operating system. Oracle JDK 8 is distributed in archives (zip and targ.z) and installers (rpm for Linux, dmg for macOS and exe for Windows).For Windows 10 x64-bit, choose to download the file jdk-8u251-windows-x64.exeJava file. You must login using an Oracle account (if you don’t have an Oracle account, then creating one is free).I recommend you to verity the integrity of the downloaded by comparing SHA256 checksum of the file against the value published here. On Windows, type the following command:

certutil -hashfile jdk-8u251-windows-x64.exe sha256

If the generated SHA256 checksum value matches the one posted by Oracle, you’re safe to launch JDK 8 setup program. You will see this screen:Click Next twice to proceed the installation of Java 8. Then it also asks you to install JRE 8:Click Next to proceed and click Close when the setup done.

Java 7 Update 45 Mac

Note that Oracle JDK 8 setup automatically updates the PATH system environment variable so if you type

Download Java 7 Windows

java –version command in a Windows Command prompt, you would see this:That means you have successfully installed JDK 8 on your computer. For development with Java 8, you should configure JAVA_HOME as described in this guide.For visual steps, you can watch the following video:

Related Tutorials:


About the Author:

Nam Ha Minh is certified Java programmer (SCJP and SCWCD). He started programming with Java in the time of Java 1.4 and has been falling in love with Java since then. Make friend with him on Facebook and watch his Java videos you YouTube.