• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
System RequirementsSee supported System Configurations for information about supported platforms,operating systems, desktop managers, and browsers.The minimum physical RAM is required to run graphically based applications. MoreRAM is recommended for applets running within a browser using the Java Plugin.Running with less memory may cause disk swapping which has a severe effect onperformance. Very large programs may require more RAM for adequate performance.This installation requires Windows Installer 2.0 to be on your machine, or anInternet connection for it to be automatically downloaded. For more details, seethe Troubleshooting the Installation section .For the amount of disk space required, see Windows Disk Space Requirements.Note - The JDK has two version numbers -- external version number (6) and aninternal version number (1.6.0).Notes -- Trying to install the JDK on a non-supported version of MicrosoftWindows or on a machine that doesn't have a sufficiently up-to-date Service Packwill cause the installer to generate this warning: "We recommend that you do notinstall this Java platform for the following reasons: This Java platform does notsupport the operating system or operating-system service pack on this machine."See the system requirements above for information on supported configurations ofMicrosoft Windows.Installation InstructionsIn this procedure, you will run the self-installing executable to unpack andinstall the JDK software bundle. As part of the JDK, this installation includes anoption to include the public Java Runtime Environment. (The JDK also contains aprivate JRE for use only by its tools.)For issues related to Windows Online Installation and Java Update, see the WindowsOnline Installation and Java Update FAQ. See this note on Proxy Settings andAuthentication.Troubleshooting - If you have any difficulties, see the Troubleshooting section atthe end of this document or submit a bug report for your installation problem.Note: For any text on this page containing the following notation, you mustsubstitute the appropriate update version number for the notation.<version>For example, if you are downloading the installer for update 1.6.0_01, thefollowing file name:jdk-1_6_0_<version>-windows-i586.exewould become:jdk-1_6_0_01-windows-i586.exe1. Check the download file size (Optional)If you save the self-installing executable to disk without running it from the
 
download page at the web site, notice that its byte size is provided on thedownload page. Once the download has completed, check that you have downloaded thefull, uncorrupted software file.2. Run the JDK installerYou must have administrative permissions in order to install the JDK onMicrosoft Windows.The file jdk-1_6_0_<version>-windows-i586-i.exe is the JDK installer. If youdownloaded it instead of running it directly from the web site, double-click onthe installer's icon. Then follow the instructions the installer provides. Theinstaller may ask you to reboot your computer. When done with the installation,you can delete the download file to recover disk space.Installed Directory TreeThe JDK has the directory structure shown below.jdk1.6.0_<version>____________________|___________________| | | | | | | | || | | | bin lib | demo || | | LICENSE | | | jre| | COPYRIGHT | __|__| README.txt include | |readme.html bin libThe JDK has the option of installing a public JRE. For more information on JREinstallation see the JRE Installation page.3. If you want to run Netscape 7.x, Mozilla 1.x, or Firefox 1.x with Java Plugin,do this:* Exit the Netscape 7.x, Mozilla 1.x, or Firefox 1.x browser and all ofits "objects" (Messenger, Composer ...);* If the Quick Launch feature is enabled, disable it;* Then restart Netscape 7.x, Mozilla 1.x, or Firefox 1.x.4. Update the PATH variable (Optional)You can run the JDK without setting the PATH variable, or you can optionallyset it as a convenience.Should I set the PATH variable?Set the PATH variable if you want to be able to conveniently run the JDKexecutables (javac.exe, java.exe, javadoc.exe, etc.) from any directory withouthaving to type the full path of the command. If you don't set the PATH variable,you need to specify the full path to the executable every time you run it, suchas:C:> "\Program Files\Java\jdk1.6.0_<version>\bin\javac" MyClass.javaIt's useful to set the PATH permanently so it will persist after rebooting.How do I set the PATH permanently?To set the PATH permanently, add the full path of the jdk1.6.0_<version>\bin
 
directory to the PATH variable. Typically this full path looks something likeC:\Program Files\Java\jdk1.6.0_<version>\bin. Set the PATH as follows on MicrosoftWindows:1. Click Start > Control Panel > System on Windows XP or Start > Settings >Control Panel > System on Windows 2000.2. Click Advanced > Environment Variables.3. Add the location of bin folder of JDK installation for PATH in UserVariables and System Variables. A typical value for PATH is:C:\Program Files\Java\jdk1.6.0_<version>\bin* PATH environment variable is a series of directories separated by semi-colons (;) and is not case sensitive. Microsoft Windows looks for programs in thePATH directories in order, from left to right.* You should only have one bin directory for a JDK in the path at a time.Those following the first instance are ignored. If one is already present, updateit to jdk1.6.0_<version>\bin.* If you are not sure where to add the path, add it to the right end ofthe PATH in the User Variables.* The new path takes effect in each new command window you open aftersetting the PATH variable. 5. Start using the JDK!Your computer system should now be ready to use the JDK. In this step, you'llrun some simple commands to make sure it is working properly.If you are new to developing and running programs in the Java programminglanguage, see The Java Tutorial online for some guidance. Note especially thetutorial trails under the heading Trails Covering the Basics.You can also download the JDK documentation from the JDK download page.Uninstalling the JDKIf you should ever want to uninstall the JDK, use the "Add/Remove Programs"utility in the Microsoft Windows Control Panel.Location of VM Library Files (jvm.dll)If you use the Invocation API to launch an application directly rather than usingthe Java application launcher, be sure to use the correct paths to invoke the JavaHotSpot Client Virtual Machine (VM) or Java HotSpot Server VM, as desired. Thepath within the JDK to the Java HotSpot Client VM is:jre/bin/client/jvm.dll (on x86)The path to the Java HotSpot Server VM is:jre/bin/server/jvm.dll (on x86)jre/bin/server/jvm.dll (on IA64)The corresponding locations in the Java SE Runtime Environment begin with jre1.6.0instead of jre. The Exact VM and Classic VM are no longer part of the JDK, andexisting code that uses the Invocation API to launch an application based on oldpaths to the Exact or Classic VMs will not work.
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...