How To Install Java Jdk On Windows 7 64 Bit
- Oracle Engineering Network
- Software Downloads
- Documentation
JDK Installation for Microsoft Windows
Run into JDK seven and JRE 7 Installation Guide for general information about installing JDK vii and JRE 7.
The post-obit topics are covered:
- Organization Requirements
- Installation Instructions Notation
- Installation Instructions
- Downloading the Installer
- Running the JDK Installer
- Java Outset Carte
- Installing the JDK Silently
- Updating the PATH Environment Variable (Optional)
- Starting to Use the JDK
- Uninstalling the JDK
- Uninstalling the JDK in Silent Mode
- Installed Directory Tree
- Installation Troubleshooting
- System File Not Suitable for Running MS-DOS and Microsoft Windows Applications
- Decadent Cabinet file
- System Error During Decompression
- Program Cannot Be Run in DOS Mode
- Private Versus Public JRE
- Creating Source Files in Notepad
- Characters That Are Not Part of the System Lawmaking Page
System Requirements
Run across Oracle JRE seven and JDK seven Certified System Configurations for information nigh supported platforms, operating systems, and browsers.
Encounter Windows System Requirements for JDK and JRE for minimum processor, disk space, and memory requirements.
Note:
- The JDK and JRE have a version string that enables you to determine the version number. Encounter Coffee Platform Standard Edition seven, Names and Versions Version Number for information well-nigh Java SE 7 version numbers.
- The JDK has the option of installing the public JRE. For more data about JRE installation, run across JRE Installation for Microsoft Windows.
- If yous have whatsoever difficulties, meet the Troubleshooting section at the end of this certificate or submit a bug report for your installation trouble.
Installation Instructions Notation
For any text in this document that contains the following notation, you must substitute the appropriate update version number:
<version>
For instance, if you were downloading the JDK installer for 32-bit systems for update i.7.0_01, the file name: jdk-seven<version>-windows-i586.exe
would become jdk-7u1-windows-i586.exe
.
Similarly, if you were downloading the JDK installer for 64-bit systems for update 1.vii.0_01, the file proper noun jdk-7<version>-windows-x64.exe
would become jdk-7u1-windows-x64.exe
.
Installation Instructions
In this procedure, you will run the cocky-installing executable file to unpack and install the JDK. As part of the JDK, this installation includes an option to include the public Java Runtime Environment. (The JDK also contains a individual JRE for apply simply by its tools; see Private Versus Public JRE for more information.)
Install the JDK by doing the post-obit:
- Downloading the Installer
- Running the JDK Installer
- Installing the JDK Silently
- Updating the PATH Variable (Optional)
- Starting to Use the JDK
Downloading the Installer
If y'all save the self-installing executable file to disk without running it from the download page at the web site, note that its byte size provided on the download page. After the download has completed, verify that you take downloaded the total, uncorrupted software file.
Running the JDK Installer
You must have administrative permissions in order to install the JDK on Microsoft Windows.
The file jdk-7<version>-windows-i586-i.exe is the JDK installer for 32-bit systems. The file jdk-7<version>-windows-x64.exe is the JDK installer for 64-bit systems. If yous downloaded either file instead of running it directly from the web site, double-click the installer's icon. So, follow the instructions the installer provides. The installer may enquire yous to reboot your computer. When finished with the installation, you can delete the downloaded file to recover disk space.
Notation: Installers for JDK 7u6 and after install the JavaFX SDK and integrate it into the JDK installation directory. Installers for JDK 7u2 to 7u5 install the JDK start, then start the JavaFX SDK installer, which installs JavaFX SDK in the default directory C:\Programme Files\Oracle\JavaFX 2.0 SDK
or C:\Program Files (x86)\Oracle\JavaFX ii.0 SDK
on 64-bit operating systems. If you desire to install the JavaFX SDK (version two.0.2) with JDK 7u1 or earlier, see Installing JavaFX for more data.
Coffee Start Menu
Starting with JDK 7u40 release, Java menu items are added to the Windows Start Carte to provide like shooting fish in a barrel access to Java resources.
During JDK install, a Java Development Kit
binder is created in the Windows Outset Carte du jour, which contains the following items:
- Reference Documentation: opens the Online API documentation spider web page.
- Java Mission Control: opens the
Coffee Mission Control
profiling and diagnostics tools suite.
During JDK install and uninstall processes, the appropriate first menu items are updated to be associated with the latest JDK version on the arrangement.
Note: Coffee Mission Control is a commercial characteristic available to users with a Coffee SE Advanced license.
Installing the JDK Silently
You can perform a silent, non-interactive, JDK installation by using the command-line arguments. The following table lists example installation scenarios and the commands required to perform them:
Installation Scenario | Command |
---|---|
Install the public JRE in silent mode | jdk.exe /s |
Install development tools and source code in silent mode but not the public JRE | jdk.exe /s ADDLOCAL="ToolsFeature,SourceFeature" |
Install development tools, source code, and the public JRE in silent style | jdk.exe /s ADDLOCAL="ToolsFeature,SourceFeature,PublicjreFeature" |
Install the public JRE in the specified directory C:\exam\ in silent mode | jdk.exe /s /INSTALLDIRPUBJRE=C:\examination\ |
Updating the PATH Environment Variable (Optional)
You can run the JDK without setting the PATH
surroundings variable, or you can optionally set information technology so that you lot can conveniently run the JDK executable files (javac.exe
, java.exe
, javadoc.exe
, so along) from whatsoever directory without having to blazon the full path of the command. If y'all exercise non set up the PATH
variable, you demand to specify the total path to the executable file every time y'all run it, such as:
C:\> "C:\Program Files\Java\jdk1.vii.0\bin\javac" MyClass.coffee
It is useful to set the PATH
variable permanently so it will persist after rebooting.
To set the PATH
variable permanently, add together the full path of the jdk1.7.0\bin
directory to the PATH
variable. Typically, this total path looks something similar C:\Program Files\Java\jdk1.7.0\bin
. Set the PATH
variable as follows on Microsoft Windows:
-
Click Start, then Control Panel, then System.
-
Click Avant-garde, so Environment Variables.
-
Add together the location of the
bin
folder of the JDK installation for thePATH
variable in System Variables. The following is a typical value for thePATH
variable:C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.7.0\bin
Note:
- The PATH environment variable is a series of directories separated by semicolons (
;
) and is not example-sensitive. Microsoft Windows looks for programs in thePATH
directories in order, from left to correct. - You should only take ane bin directory for a JDK in the path at a fourth dimension. Those post-obit the first instance are ignored.
- If you are not certain where to add the path, add together it to the right of the value of the
PATH
variable. - The new path takes effect in each new command window y'all open up after setting the
PATH
variable.
Starting to Utilize the JDK
If you lot are new to developing and running programs in the Java programming linguistic communication, see The Java Tutorial online for some guidance. Annotation especially the tutorial trails under the heading Trails Covering the Nuts.
Yous can likewise download the JDK documentation from the Java SE Downloads page.
Uninstalling the JDK
If you should ever want to uninstall the JDK, use the "Add together/Remove Programs" utility in the Microsoft Windows Command Panel.
Uninstalling the JDK in Silent Mode
You lot can use the command line for uninstalling the JDK.
Use the post-obit command to uninstall the JDK in silent manner:
msiexec.exe/X{UninstallString}
For example, to uninstall Java 7 update 271, run the command:
msiexec.exe/10{64A3A4F4-B792-11D6-A78A-00B0D0170271}
To find the UninstallString, encounter "Finding the JDK Registry Key and UninstallString".
Annotation:
-
This control can be run from anywhere.
-
The
msiexec.exe
executable is located in the windows system directory. -
A reboot is required only if some files are in use during uninstallation; it is not necessary everytime. Even so, to manually suppress reboot while uninstalling, append
REBOOT=R
option to the command. -
Append
/l "C:\<path>setup.log"
option to the command if y'all want to create a log file describing the uninstallation status.
Windows Installer dialog appears prompting y'all for confirmation. Click Yes to uninstall JDK.
Finding the JDK Registry Central and UninstallString Value
-
Go to Start and type regedit.
-
In the Registry Editor, go to
HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Uninstall
.Under the
Uninstall
folder, yous volition detect many registry entries within curly brackets. -
Click Edit and and so Find.
Note:
Highlight
Uninstall
folder before performing search for a item registry.
-
Enter version string as value to find corresponding registry key. For JDK registry central, enter 1.7.0.271.
The registry key is highlighted on the right-hand side of the pane and values of diverse uninstall strings are displayed on the left-mitt pane.
-
Annotation the value of the UninstallString.
Installed Directory Tree
Run into JDK and JRE File Structure for a description of the directory structure of the JDK. (Notation that the file structure of the JRE is identical to that of the JDK's jre
directory.)
Installation Troubleshooting
Below are some tips for working around problems that are sometimes seen during or following an installation. For more troubleshooting information, see Troubleshooting Coffee SE:
- Decadent Chiffonier file
- System Error During Decompression
- Program Cannot Exist Run in DOS Way
- Private Versus Public JRE
- Creating Source Files in Notepad
- Characters That Are Not Part of the System Code Page
Corrupt Cabinet File
If you meet the fault message "corrupt cabinet file," then the file you have downloaded is corrupted. Check the file size against the expected file size listed in these instructions. If sizes practice not match, try downloading the bundle again. (A cabinet file contains compressed application, data, resource, and DLL files.)
System Error During Decompression
If y'all see the error message "organisation error during decompression," then y'all might non accept enough infinite on the deejay that contains your TEMP
directory.
Program Cannot Be Run in DOS Mode
If you come across the error message "This program cannot be run in DOS mode," so do the following:
- Open the MS-DOS beat out or Command Prompt window.
- Right-click the title bar.
- Select Properties.
- Choose the Programme tab.
- Click the Advanced button.
- Ensure that the detail "Forestall MS-DOS-based programs from detecting Windows" is not selected.
- Select OK.
- Select OK again.
- Exit the MS-DOS shell.
- Restart your computer.
Private Versus Public JRE
Installing the JDK besides installs a private JRE and optionally a public copy. The individual JRE is required to run the tools included with the JDK. It has no registry settings and is independent entirely in a jre
directory (typically at C:\Program Files\jdk1.seven.0\jre
) whose location is known but to the JDK. On the other paw, the public JRE can be used by other Coffee applications, is contained outside the JDK (typically at C:\Program Files\Java\jre1.7.0
), is registered with the Windows registry (at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft
), can be removed using Add/Remove Programs, might exist registered with browsers, and might take the java.exe
file copied to the Windows organization directory (which would make it the default organisation Java platform).
Source Files in Notepad
In Microsoft Windows, when you create a new file in Microsoft Notepad and so salvage it for the showtime time, Notepad usually adds the .txt
extension to the file name. Therefore, a file y'all name Exam.java
is saved equally Test.java.txt
. It is important to annotation that yous cannot run into the .txt
extension unless you plough on the viewing of file extensions (in Microsoft Windows Explorer, unselect "Hide file extensions for known file types" under Folder Options). To prevent the .txt
extension, enclose the file proper noun in quotation marks, such every bit "Examination.java"
, when typing information technology into the Salve As dialog box.
On the other hand, Microsoft WordPad does not add the .txt
extension if you lot specify another extension. However, you must save the file as "Text Document".
Source: https://docs.oracle.com/javase/7/docs/webnotes/install/windows/jdk-installation-windows.html
Posted by: tauntonbutial.blogspot.com
0 Response to "How To Install Java Jdk On Windows 7 64 Bit"
Post a Comment