Follow these steps to install the JDK:
1. Point your browser to http://java.sun.com/javase/downloads/index.jsp. The Java SE downloads page appears.
Installing the JDK |
2. Click the JDK link under the Java Platform (JDK) heading (see in Figure). This link is on the http://java.sun.com/javase/downloads/index.jsp page at this writing.
The Web page shown in Figure may look different in the future. To ensure that you’re visiting the correct page.
If you’re on a Mac, install the JDK through Software Update panel.
A new Java SE downloads page appears, asking you to specify which platform (Windows, Linux, or Mac) you’ll be using for your development work.
3. Using the Platform drop-down list, confirm your platform, and then click the Download button. An optional Log in for Download screen appears.
4. Click the Skip This Step link at the bottom of the page.
5. Click JDK-6u20-windows-i586.exe to download the file.Windows opens a message box with a security warning, as shown in Figure.
6. In the Save As dialog box, select the location where you want to save the file, and click Save.
You must remember what version of the Java SDK you need to install. At this writing, Android 2.2 supports Java SDK versions 5 and 6. If you install the wrong version of Java, you’ll get unexpected results during development.
Installing the JDK |
Installing the JDK :
When the download is complete, double-click the file to install the JDK. You are prompted by a dialog box that asks whether you want to allow the program to make changes to your computer. Click the Yes button. If you click the No button, the installation is stopped. When you’re prompted to do so, read and accept the license agreement. That’s all there is to it! You have the JDK installed and are ready to move to the next phase. Follow @amardeepvijay
No comments:
Post a Comment