Java is a computer programming language that is concurrent, class-based & object-oriented. It was originally developed by James Gosling at Sun Microsystems. Java applications are compiled lớn bytecode (class file) that can run on any Java virtual machine (JVM) regardless of computer architecture.
Bạn đang xem: Download java for windows
Java is currently owned by the Oracle Corporation which acquired Sun Microsystems in 2010. Following tutorial will show you how khổng lồ setup and configure Java 1.7 on Windows so you can develop and run Java code.
Chechồng following posts if you are looking khổng lồ download & install JDK 1.5, JDK 1.6, JDK 1.8, JDK 1.9 or JDK 1.10.JDK Download & Install
Java can be obtained from the Oracle Java tải về page. There are a number of different Java packages available, for this tutorial we will be installing Java Standard Edition (SE) on Windows.
In order lớn be able khổng lồ compile Java code, we need the Java Development Kit (JDK) package that comes with a Java compiler. The JDK package also comes with a Java runtime environment (JRE) that is needed to lớn run compiled Java code.
As we are installing an older Java version, you need to lớn scroll all the way down lớn the bottom of the Oracle Java tải về page và click on the Download button in the Java Archive section. Then look for the Java SE 7 links & after clicking on it, select the correct operating system under Java SE Development Kit 7u80.
Here is the direct liên kết khổng lồ tải về the jdk 1.7.0_80 installer for Windows 32 or 64 bit.
Accept the License Agreement and pichồng the correct download for your operating system. In this example, we will use the Windows 64 bit version.
Sign in using your Oracle trương mục (or create a new one) và the download should start. Once the tải về is complete, locate the jdk-7u80-windows-x64.exe cộ tệp tin và double-cliông chồng lớn run the installer.
Click Next & on the following screen optionally change the installation location by clicking on the Change... button. In this example the install location was changed lớn "C:Javajdk1.7.0_80". From now on we will refer to lớn this directory as:
Next, the installer will present the installation location of the public JRE. We will skip this part of the installer as the JDK installed in the previous step comes with a private JRE that can run developed code. Just press Cancel & confirm by clicking Yes in the popup window.
Cliông xã Next and then Cthua thảm to lớn finish installing Java.
In order for Java applications khổng lồ be able to lớn run we need khổng lồ cài đặt a "JAVA_HOME" environment variable that will point to lớn the Java installation directory. In addition, if we want lớn run Java commands from a commvà prompt we need lớn cài đặt the "PATH" environment variable to contain the Java bin directory.
When using Windows the above parameters can be configured on the Environment Variables panel. Click on the Windows Start button and enter “env” without quotes as shown below.
Environment variables can be phối at trương mục màn chơi or at system cấp độ. For this example cliông chồng on Edit environment variables for your trương mục and following panel should appear.
Click on the New button và enter “JAVA_HOME” as variable name & the
Click on the New button and enter “PATH” as variable name & “%JAVA_HOME%in” as variable value. Cliông xã OK to save.
chú ý that in case a "PATH" variable is already present you can add “;%JAVA_HOME%in” at the over of the variable value.
The result should be as shown below. Cliông xã OK lớn cthua kém the environment variables panel.
In order to test the above configuration, open a comm& prompt by clicking on the Windows Start button và typing “cmd” followed by pressing ENTER. A new commvà prompt should open in which the following commvà can be entered lớn verify the installed Java version:
The result should be as shown below.
This concludes the setting up và configuring JDK 1.7 on Windows.
Xem thêm: Top 8 Bài Nghị Luận Về Lòng Hiếu Thảo, Viết Đoạn Văn Nghị Luận Về Lòng Hiếu Thảo (8 Mẫu)
If you found this post helpful or have sầu any questions or remarks, please leave a phản hồi.