Oracle Old Java Download Mac

JavaScript is disabled on your browser.

Java SE 7 Archive Downloads. Go to the Oracle Java Archive page. Thank you for downloading this release of the Java TM Platform, Standard Edition Development Kit (JDK TM).The JDK is a development environment for building applications, applets, and components using the Java programming language.

Oracle Java Archive The Oracle Java Archive offers self-service download access to some of our historical Java releases. WARNING: These older versions of the JRE and JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production. Below is a direct link to install the Java 6 Runtime for for OS X 10.11 El Capitan, OS X 10.10 Yosemite, OS X 10.9 Mavericks, OS X 10.8 Mountain Lion, and OS X 10.7 Lion. Install Java for OS X 2015-001 here. Java SE 7 Archive Downloads. Go to the Oracle Java Archive page. Thank you for downloading this release of the Java TM Platform, Standard Edition Development Kit (JDK TM).The JDK is a development environment for building applications, applets, and components using the Java programming language.

  • Class

Class Mac

    • javax.crypto.Mac
  • All Implemented Interfaces:
    Cloneable

    This class provides the functionality of a 'Message Authentication Code' (MAC) algorithm.

    A MAC provides a way to check the integrity of information transmitted over or stored in an unreliable medium, based on a secret key. Typically, message authentication codes are used between two parties that share a secret key in order to validate information transmitted between these parties.

    A MAC mechanism that is based on cryptographic hash functions is referred to as HMAC. HMAC can be used with any cryptographic hash function, e.g., SHA256 or SHA384, in combination with a secret shared key. HMAC is specified in RFC 2104.

    Every implementation of the Java platform is required to support the following standard Mac algorithms:

    • HmacMD5
    • HmacSHA1
    • HmacSHA256
    These algorithms are described in the Mac section of the Java Cryptography Architecture Standard Algorithm Name Documentation. Consult the release documentation for your implementation to see if any other algorithms are supported.
    Since:
    1.4
    • Constructor Summary

      Constructors
      ModifierConstructor and Description
      protected Mac(MacSpi macSpi, Provider provider, String algorithm)
    • Method Summary

      Methods
      Modifier and TypeMethod and Description
      Objectclone()
      Returns a clone if the provider implementation is cloneable.
      byte[]doFinal()
      byte[]doFinal(byte[] input)
      Processes the given array of bytes and finishes the MAC operation.
      voiddoFinal(byte[] output, int outOffset)
      StringgetAlgorithm()
      Returns the algorithm name of this Mac object.
      static MacgetInstance(String algorithm)
      Returns a Mac object that implements the specified MAC algorithm.
      static MacgetInstance(String algorithm, Provider provider)
      Returns a Mac object that implements the specified MAC algorithm.
      static MacgetInstance(String algorithm, String provider)
      Returns a Mac object that implements the specified MAC algorithm.
      intgetMacLength()
      ProvidergetProvider()
      Returns the provider of this Mac object.
      voidinit(Key key)
      voidinit(Key key, AlgorithmParameterSpec params)
      Initializes this Mac object with the given key and algorithm parameters.
      voidreset()
      voidupdate(byte input)
      Processes the given byte.
      voidupdate(byte[] input)
      voidupdate(byte[] input, int offset, int len)
      Processes the first len bytes in input, starting at offset inclusive.
      voidupdate(ByteBuffer input)
      Processes input.remaining() bytes in the ByteBuffer input, starting at input.position().
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Mac

        Parameters:
        macSpi - the delegate
        provider - the provider
        algorithm - the algorithm
    • Method Detail

      • getAlgorithm

        Returns the algorithm name of this Mac object.

        This is the same name that was specified in one of the getInstance calls that created this Mac object.

        Returns:
        the algorithm name of this Mac object.
      • getInstance

        Returns a Mac object that implements the specified MAC algorithm.

        This method traverses the list of registered security Providers, starting with the most preferred Provider. A new Mac object encapsulating the MacSpi implementation from the first Provider that supports the specified algorithm is returned.

        Note that the list of registered providers may be retrieved via the Security.getProviders() method.

        Parameters:
        algorithm - the standard name of the requested MAC algorithm. See the Mac section in the Java Cryptography Architecture Standard Algorithm Name Documentation for information about standard algorithm names.
        Returns:
        the new Mac object.
        Throws:
        NoSuchAlgorithmException - if no Provider supports a MacSpi implementation for the specified algorithm.
        See Also:
        Provider
      • getInstance

        Returns a Mac object that implements the specified MAC algorithm.

        A new Mac object encapsulating the MacSpi implementation from the specified provider is returned. The specified provider must be registered in the security provider list.

        Note that the list of registered providers may be retrieved via the Security.getProviders() method.

        Parameters:
        algorithm - the standard name of the requested MAC algorithm. See the Mac section in the Java Cryptography Architecture Standard Algorithm Name Documentation for information about standard algorithm names.
        provider - the name of the provider.
        Returns:
        the new Mac object.
        Throws:
        NoSuchAlgorithmException - if a MacSpi implementation for the specified algorithm is not available from the specified provider.
        NoSuchProviderException - if the specified provider is not registered in the security provider list.
        IllegalArgumentException - if the provider is null or empty.
        See Also:
        Provider
      • getInstance

        Returns a Mac object that implements the specified MAC algorithm.

        A new Mac object encapsulating the MacSpi implementation from the specified Provider object is returned. Note that the specified Provider object does not have to be registered in the provider list.

        Parameters:
        algorithm - the standard name of the requested MAC algorithm. See the Mac section in the Java Cryptography Architecture Standard Algorithm Name Documentation for information about standard algorithm names.
        provider - the provider.
        Returns:
        the new Mac object.
        Throws:
        NoSuchAlgorithmException - if a MacSpi implementation for the specified algorithm is not available from the specified Provider object.
        IllegalArgumentException - if the provider is null.
        See Also:
        Provider
      • getProvider

        Returns:
        the provider of this Mac object.
      • getMacLength

        Returns the length of the MAC in bytes.
        Returns:
        the MAC length in bytes.
      • init

        Parameters:
        key - the key.
        Throws:
        InvalidKeyException - if the given key is inappropriate for initializing this MAC.
      • init

        Initializes this Mac object with the given key and algorithm parameters.
        Parameters:
        key - the key.
        params - the algorithm parameters.
        Throws:
        InvalidKeyException - if the given key is inappropriate for initializing this MAC.
        InvalidAlgorithmParameterException - if the given algorithm parameters are inappropriate for this MAC.
      • update

        Parameters:
        input - the input byte to be processed.
        Throws:
        IllegalStateException - if this Mac has not been initialized.
      • update

        Processes the given array of bytes.
        Parameters:
        input - the array of bytes to be processed.
        Throws:
        IllegalStateException - if this Mac has not been initialized.
      • update

        Processes the first len bytes in input, starting at offset inclusive.
        Parameters:
        input - the input buffer.
        offset - the offset in input where the input starts.
        len - the number of bytes to process.
        Throws:
        IllegalStateException - if this Mac has not been initialized.
      • update

        Processes input.remaining() bytes in the ByteBuffer input, starting at input.position(). Upon return, the buffer's position will be equal to its limit; its limit will not have changed.
        Parameters:
        input - the ByteBuffer
        Throws:
        IllegalStateException - if this Mac has not been initialized.
        Since:
        1.5
      • doFinal

        Finishes the MAC operation.

        A call to this method resets this Mac object to the state it was in when previously initialized via a call to init(Key) or init(Key, AlgorithmParameterSpec). That is, the object is reset and available to generate another MAC from the same key, if desired, via new calls to update and doFinal. (In order to reuse this Mac object with a different key, it must be reinitialized via a call to init(Key) or init(Key, AlgorithmParameterSpec).

        Returns:
        the MAC result.
        Throws:
        IllegalStateException - if this Mac has not been initialized.
      • doFinal

        Finishes the MAC operation.

        A call to this method resets this Mac object to the state it was in when previously initialized via a call to init(Key) or init(Key, AlgorithmParameterSpec). That is, the object is reset and available to generate another MAC from the same key, if desired, via new calls to update and doFinal. (In order to reuse this Mac object with a different key, it must be reinitialized via a call to init(Key) or init(Key, AlgorithmParameterSpec).

        The MAC result is stored in output, starting at outOffset inclusive.

        Parameters:
        output - the buffer where the MAC result is stored
        outOffset - the offset in output where the MAC is stored
        Throws:
        ShortBufferException - if the given output buffer is too small to hold the result
        IllegalStateException - if this Mac has not been initialized.
      • doFinal

        Processes the given array of bytes and finishes the MAC operation.

        A call to this method resets this Mac object to the state it was in when previously initialized via a call to init(Key) or init(Key, AlgorithmParameterSpec). That is, the object is reset and available to generate another MAC from the same key, if desired, via new calls to update and doFinal. (In order to reuse this Mac object with a different key, it must be reinitialized via a call to init(Key) or init(Key, AlgorithmParameterSpec).

        Parameters:
        input - data in bytes
        Returns:
        the MAC result.
        Throws:
        IllegalStateException - if this Mac has not been initialized.
      • reset

        Resets this Mac object.

        A call to this method resets this Mac object to the state it was in when previously initialized via a call to init(Key) or init(Key, AlgorithmParameterSpec). That is, the object is reset and available to generate another MAC from the same key, if desired, via new calls to update and doFinal. (In order to reuse this Mac object with a different key, it must be reinitialized via a call to init(Key) or init(Key, AlgorithmParameterSpec).

      • clone

        Returns a clone if the provider implementation is cloneable.
        Overrides:
        clone in class Object
        Returns:
        a clone if the provider implementation is cloneable.
        Throws:
        CloneNotSupportedException - if this is called on a delegate that does not support Cloneable.
        See Also:
        Cloneable
  • Class
  • Summary:
  • Nested
  • Field
  • Constr
  • Detail:
  • Field
  • Constr

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Oracle Java Jdk

Scripting on this page tracks web page traffic, but does not change the content in any way.

Pick a software title...to downgrade to the version you love!

Java Platform Latest Version

Java Platform 7 Update 5

Released:
Jun 13, 2012
Size:
20.08 MB
Downloads:
4,757
Rating:
Tested: Free from spyware, adware and viruses

Java Platform Popular Version

Java Platform Runtime 5.0 Update 5

Released:
Feb 6, 2006
Size:
15.67 MB
Downloads:
92,279
Rating:
Tested: Free from spyware, adware and viruses

Select Version of Java Platform to Download for FREE!

Software VersionRelease DateSize
Java Platform 1.1.7Add info2.61 MB
Java Platform 1.1.8Add info2.63 MB
Java Platform 1.1.8.10Add info2.64 MB
Java Platform Runtime 1.2.1Jun 21, 199911.94 MB
Java Platform 1.2.2.5Add info5.05 MB
Java Platform 1.2.2.17Add info5.14 MB
Java Platform 1.3.0Add info7.34 MB
Java Platform Runtime 1.3.1May 20, 20017.69 MB
Java Platform 1.3.1.20Add info5.26 MB
Java Platform Runtime 1.4.0Jul 12, 200411.65 MB
Java Platform 1.4.1Add info9.47 MB
Java Platform Runtime 1.4.2Sep 9, 200413.51 MB
Java Platform 1.4.2.19Add info15.12 MB
Java Platform 1.5.0Add info15.67 MB
Java Platform 1.5.0.1Add info15.08 MB
Java Platform 1.5.0.2Add info15.25 MB
Java Platform 1.5.0.3Add info15.26 MB
Java Platform 1.5.0.4Add info15.54 MB
Java Platform 1.5.0.5Add info15.67 MB
Java Platform 1.5.0.6Add info16.00 MB
Java Platform 1.5.0.7Add info18.23 MB
Java Platform 1.5.0.8Add info15.74 MB
Java Platform 1.5.0.9Add info15.74 MB
Java Platform 1.5.0.10Add info15.82 MB
Java Platform 1.5.0.11Add info15.80 MB
Java Platform 1.5.0.12 (x64)May 21, 200711.26 MB
Java Platform 1.5.0.12May 21, 200715.88 MB
Java Platform 1.5.0.13 (x64)Sep 26, 200711.26 MB
Java Platform 1.5.0.13Sep 26, 200715.92 MB
Java Platform 1.5.0.14Nov 5, 200716.10 MB
Java Platform 1.5.0.14 (x64)Nov 5, 200711.38 MB
Java Platform 1.5.0.15 (x64)Feb 12, 200811.39 MB
Java Platform 1.5.0.15Feb 12, 200816.11 MB
Java Platform 1.5.0.16Jun 17, 200816.13 MB
Java Platform 1.5.0.16 (x64)Jun 17, 200811.39 MB
Java Platform 1.6Add info12.56 MB
Java Platform 1.6.0.1Add info13.16 MB
Java Platform 1.6.0.2Add info13.89 MB
Java Platform 1.6.0.3Add info13.93 MB
Java Platform 1.6.0.4Feb 5, 200815.12 MB
Java Platform 1.6.0.5Add info15.18 MB
Java Platform 1.6.0.6Add info15.21 MB
Java Platform 1.6.0.7Jul 9, 200815.24 MB
Java Platform 1.6.0.10Oct 26, 200815.55 MB
Java Platform 1.6.0.11Dec 3, 200815.56 MB
Java Platform 1.6.0.12Jan 20, 200915.67 MB
Java Platform 1.6.0.12 (x64)Jan 21, 200916.16 MB
Java Platform 1.6.0.13Mar 25, 200915.68 MB
Java Platform 1.6.0.14May 30, 200915.50 MB
Java Platform 1.6.0.14 (x64)May 30, 200916.38 MB
Java Platform 1.6.0.15Aug 5, 200916.04 MB
Java Platform 1.7.0.1Oct 3, 201120.33 MB
Java Platform 1.7.01Oct 3, 200319.26 MB
Java Platform Runtime 5.0 Update 5Feb 6, 200615.67 MB
Java Platform 5 Update 17 (x64)Nov 19, 200811.40 MB
Java Platform 5 Update 18 (x64)Mar 4, 200911.42 MB
Java Platform 5 Update 22 (x64)Add info11.66 MB
Java Platform 5 Update 17Nov 19, 200816.26 MB
Java Platform 5 Update 22Add info16.70 MB
Java Platform 5 Update 18Mar 4, 200916.30 MB
Java Platform 5.0 Update 22Jan 10, 200616.70 MB
Java Platform 5.0 Update 15Jan 2, 200616.11 MB
Java Platform 6 Update 27Aug 23, 201116.33 MB
Java Platform 6 Update 27 (x64)Aug 23, 201116.39 MB
Java Platform 6 Update 29Oct 18, 201116.34 MB
Java Platform 6 Update 26 (x64)Jun 7, 201116.14 MB
Java Platform 6 Update 26Jun 7, 201116.07 MB
Java Platform 6 Update 24Feb 15, 201115.98 MB
Java Platform 6 Update 24 (x64)Feb 15, 201115.90 MB
Java Platform 6 Update 25Apr 27, 201115.99 MB
Java Platform 6 Update 25 (x64)Apr 27, 201116.09 MB
Java Platform 6 Update 29 (x64)Oct 18, 201116.40 MB
Java Platform 6 Update 30Dec 15, 201116.37 MB
Java Platform 6 Update 30 (x64)Dec 15, 201116.47 MB
Java Platform 6 Update 31Feb 14, 201216.41 MB
Java Platform 6 Update 31 (x64)Feb 14, 201216.46 MB
Java Platform 6 Update 32 (x64)May 2, 201216.41 MB
Java Platform 6 Update 33Jun 13, 201216.20 MB
Java Platform 6 Update 32May 3, 201216.20 MB
Java Platform 6 Update 33 (x64)Jun 13, 201216.41 MB
Java Platform 6 Update 23 (x64)Dec 14, 201015.92 MB
Java Platform 6 update 29 64 bitOct 18, 201116.40 MB
Java Platform 6.0 Update 25Apr 27, 201115.77 MB
Java Platform 6.0 Update 27Aug 23, 201114.42 MB
Java Platform 6.0 Update 26Jun 7, 201116.07 MB
Java Platform 6 Update 23Dec 14, 201016.02 MB
Java Platform 6.0 Update 3Nov 17, 200713.93 MB
Java Platform 6.0 Update 5Add info15.18 MB
Java Platform 6.0 Update 24Feb 15, 201115.76 MB
Java Platform 6.0 Update 23Dec 14, 201015.79 MB
Java Platform 6.0 Update 10Sep 6, 200815.41 MB
Java Platform 6.0 Update 11Nov 10, 200815.42 MB
Java Platform 6.0 Update 12Jun 10, 200915.67 MB
Java Platform 6.0 Update 13Jul 16, 200915.53 MB
Java Platform 6.0 Update 7Nov 10, 200815.24 MB
Java Platform 6.0 Update 29Oct 3, 2011888.28 KB
Java Platform 6 Update 21 (x64)Jul 7, 201015.37 MB
Java Platform 6 Update 22Oct 12, 201015.55 MB
Java Platform 6 Update 16Aug 13, 200915.89 MB
Java Platform 6 Update 21Jul 7, 201015.55 MB
Java Platform 6 Update 20 (x64)Apr 14, 201015.66 MB
Java Platform 6 Update 22 (x64)Oct 12, 201015.44 MB
Java Platform 6 Update 20Apr 14, 201015.76 MB
Java Platform 6 Update 17Nov 4, 200916.05 MB
Java Platform 6 Update 18Jan 14, 201015.72 MB
Java Platform 6 Update 19Mar 30, 201015.76 MB
Java Platform 6 Update 19 (x64)Mar 30, 201015.66 MB
Java Platform 7 Update 5 (x64)Jun 13, 201220.86 MB
Java Platform 7 Update 2 (x64)Dec 13, 201120.46 MB
Java Platform 7 (SDK) x64Aug 1, 201180.25 MB
Java Platform 7 (SDK)Aug 1, 201179.48 MB
Java Platform 7 Update 2Dec 13, 201119.35 MB
Java Platform 7 Update 4May 2, 201220.08 MB
Java Platform 7 Update 4 (x64)May 2, 201220.85 MB
Java Platform 7 Update 5Jun 13, 201220.08 MB

Do you have software version that is not currently listed?

Upload it now and get rewarded!

Need a software version that is not currently listed?

Make a software request now!

Java Platform Description

The Java platform is the name for a computing environment, or platform which can run applications developed using the Java programming language and set of development tools.
The Java Platform provides the libraries, Java virtual machine, and other components necessary for you to run applets and applications written in the Java programming language.

Other Internet Software

Oracle old java download mac version

Java Platform Comments

Oracle Old Java Download Mac Download

Please enable JavaScript to view the comments powered by Disqus.blog comments powered by Disqus