Java Jdk 1.7

Do you want to run Java programs, do you want to develop Java programs, or do you want a Java Runtime Environment (JRE) on a server? If you want to run Java programs, but not develop them, download the JRE. If you want to develop Java applications, download the Java Development Kit, or JDK. The JDK includes the JRE, so you do not have to download both separately. If you need the JRE on a server and do not want the ability to run RIAs, download the Java SE Server JRE. This version of the Java SE Server JRE does not include the Java plug-in or Java Web Start support, additional tools might be removed from future versions.

We support the following platforms:

For supported processors and browsers, see Oracle JDK 7 and JRE 7 Supported Systems Configurations.

For a list of changes made to the JDK and JRE installers, see Installer Enhancements in JDK 7.

Oracle Solaris Operating System

Java API Documentation Updater Tool repairs-in-place Java API Documentation created with javadoc versions included with JDK 5u45, 6u45, 7u21 and earlier. See the 7u25 release notes for more information. # java -version java version '1.7.079' Java(TM) SE Runtime Environment (build 1.7.079-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode) Configuring Environment Variables. Most of Java based application’s uses environment variables to work. Use following commands to set up these variable properly. JDK; JDK-8218415; JDK 1.7.0201 Java Monitor Blocked at sun.security.util.MemoryCache.put. Java Monitor Blocked at sun.security. JDK-8129988 JSSE should create. The java-1.7.0-openjdk package contains just the Java Runtime Environment. If you want to develop Java programs then install the java-1.7.0-openjdk-devel package. JDK 6 Debian, Ubuntu, etc. On the command line, type: $ sudo apt-get install openjdk-6-jre. The openjdk-6-jre package contains just the Java Runtime Environment.

Java Jdk 1.7 Download For Mac Os X

  • JDK 7 Installation on the Oracle Solaris OS - both 32-bit and 64-bit
  • JRE 7 Installation on the Oracle Solaris OS - both 32-bit and 64-bit
  • Server JRE 7 Installation on the Oracle Solaris OS - 64-bit

In order to run Java applets within a browser, you must install the JRE plugin manually. This does not apply to the Server JRE.

Microsoft Windows

  • Windows System Requirements for JDK and JRE - Describes minimum processor, disk space, and memory requirements for the JDK and JRE for Microsoft Windows
  • JDK Installation for Microsoft Windows - Describes how to install the JDK on 32-bit and 64-bit Microsoft Windows operating systems
  • JRE Installation for Microsoft Windows - Describes how to install the JRE on 32-bit and 64-bit Microsoft Windows operating systems
  • Server JRE Installation for Microsoft Windows - Describes how to install the Server JRE on 64-bit Microsoft Windows operating systems
  • Online Installation and Java Update FAQ - Lists frequently asked questions for Windows online installation of the JRE as well as for Java Update
  • JRE Installer Options - Describes how to install the JRE silently through command-line options
  • Patch-in-Place and Static JRE Installation - Describes how to install the JRE in a patch-in-place or static configuration.
  • Java SE Runtime Environment Update Scenarios - Describes various scenarios to demonstrate the behavior of the JRE update process.
  • Autodownload Files - Lists various JRE releases and the .cab files that can be used for autodownloading them.

Linux

  • JDK 7 Installation on Linux Platforms - both 32-bit and 64-bit, including RPM
  • JRE 7 Installation on Linux Platforms - both 32-bit and 64-bit, including RPM
  • Server JRE 7 Installation on Linux Platforms - 64-bit

Java Jdk 1.7.0 Download

In order to run Java applets within a browser, you must install the JRE plugin manually. This does not apply to the Server JRE.

Mac

The installation of JRE and JDK of 7u6 or later require Mac OS X 10.7.3 (Lion) or later.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.
See full list on java.comJdk
jsr166 maintainers are very sorry for the trouble that ConcurrentHashMap$KeySetView has caused. Here's the workaround: import java.util.concurrent.ConcurrentHashMap; import java.util.Map; public class CHM_keySet { public static void main(String[] args) throws Throwable { ConcurrentHashMap<Long,Long> m = new ConcurrentHashMap<>(); // Workaround ... System.out.println(((Map) m).keySet()); // ... for NoSuchMethodError from: System.out.println(m.keySet()); } }
FYI, this is precisely the use case of for the -release flag added to javac in JDK 9 under JEP 247: Compile for Older Platform Versions (JDK-8058150).
This is not an issue. The problem is caused by a difference in the ConcurrentHashMap API between JDK 7 and JDK 8: JDK 7: https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ConcurrentHashMap.html#keySet%28%29 JDK 8: https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentHashMap.html#keySet-- As you can see, the JDK 7 signature returns a Set, while JDK 8 signature returns a KeySetView, which is a new class in JDK 8. So, this problem is unavoidable if a source program is compiled using -source 7/target 7 AND JDK 8 classes are on the bootclasspath. The solution is to use JDK 7 runtime in the bootclasspath: /opt/JDK/8/re/b40/bin/javac -source 7 -target 7 -Xlint CHMCompilationTest.java warning: [options] bootstrap class path not set in conjunction with -source 1.7 <-------------------------------------------------- 1 warning /usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/java CHMCompilationTest Exception in thread 'main' java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; at CHMCompilationTest.main(CHMCompilationTest.java:8) To address this: /opt/JDK/8/re/b40/bin/javac -Xbootclasspath/p:/usr/lib/jvm/java-1.7.0-openjdk-amd64/jre/lib/rt.jar -Xlint -source 7 -target 7 CHMCompilationTest.java [no warnings!] maurizio@mc:~/Desktop$ /usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/java CHMCompilationTest []
Test Result: ########## OS: Windows 7 64-bit JDK: javac 7uXX java 7uXX : Pass javac 7uXX java 8uXX : Pass javac 7uXX java 9ea : Pass javac 8uXX java 7uXX : Fail javac 9ea java 7uXX : Fail javac 9ea java 8uXX : Pass ################################################################################################################################ javac 7uXX and java 7uXX ###################### c:jitools>javac -version javac 1.7.0_51 c:jitools>java CHMCompilationTest Exception in thread 'main' java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySe at CHMCompilationTest.main(CHMCompilationTest.java:8) c:jitools>javac -source 1.7 -target 1.7 CHMCompilationTest.java c:jitools>javac -version javac 1.7.0_51 c:jitools>java CHMCompilationTest [] ################################################################################################################################ javac 7uXX java 8uXX ################### c:jitools>javac -version javac 1.7.0_51 c:jitools>javac -source 1.7 -target 1.7 CHMCompilationTest.java c:jitools>javac -version javac 1.8.0_74 c:jitools>java CHMCompilationTest [] ################################################################################################################################ javac 9ea and java 8uXX #################### c:jitools>javac -version javac 9-ea c:jitools>javac -source 1.8 -target 1.8 CHMCompilationTest.java warning: [options] bootstrap class path not set in conjunction with -source 1.8 1 warning c:jitools>javac -version javac 1.8.0_74 c:jitools>java CHMCompilationTest [] ################################################################################################################################ javac 9ea and java 7uXX ##################### c:jitools>javac -version javac 9-ea c:jitools>javac -source 1.7 -target 1.7 CHMCompilationTest.java warning: [options] bootstrap class path not set in conjunction with -source 1.7 1 warning c:jitools>javac -version javac 1.7.0_51 c:jitools>java CHMCompilationTest Exception in thread 'main' java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetVi at CHMCompilationTest.main(CHMCompilationTest.java:8) c:jitools> ################################################################################################################################