Java Programing laungage

Core Java Tutorial

Introduction of Core Java

How To Install JDk and Set of Path

Syntax of java Program

Difference between Java and C/C++

Advantage and Disadvantage of Java

What is Java

Why Java is not Pure Object Oriented Language

Java has Following Features/Characteristics

Limitation of Java Language and Java Internet

Common Misconception about Java

Simple Program of Java

Integrated Development Environment in java

Compile and Run Java Program

Applet and Comments in Java

Tokens in Java

Keywords in Java

Identifier and Variables in Java

Literals/Constants

Data Type in Java

Assignments and Initialization in Java

Operators in Java

Rule of Precedence in Java

Operator on Integer and Separators in Java Programming

Java Control Flow of Statements

If and If-else Selection Statement

Nested If-else and If-else-If Selection Statement

switch case and conditional operator Selection Statement

for and while Loop

do..while and for each Loop

break and labeled break statement

continue and labeled continue statement

return Statement and exit() Method

Escape Sequence for Special Characters and Unicode Code

Constants and Block or Scope

Statement in Java

Conversions between Numeric Types in Java

Import Statement in Java

User Input in Java using Scanner Class

User Input in Java using Console Class

Array in Java

One Dimensional Array

Two Dimensional Array

Two Dimensional Array Program

Command Line Argument in Java

String args Types in Java

Uneven/Jagged array in java

Math Class Function and Constant

Math Class all Function used in a program

Enumerated Types in Java

Object Oriented Programming v/s Procedural Programming

Object Oriented Programming Concepts in Java

Introduction to Class,Object and Method in Java

Class Declaration in Java

Class & Objects in java

Encapsulation in Java

Modifiers/Visibility for a Class or Interrface or member of a Class

Polymorphism in Java

Runtime polymorphism (dynamic binding or method overriding)

adplus-dvertising
Downloading and installing JDK (or J2SE) 1.6.0

In this section we will learn from where we can download jdk 1.6 and how we can install it. There are following link from where you can download and install jdk1.6 from following link .For download you just keep in mind only one think the version of your JDK should be 1.6 and OS version and its 64 byte or 32 .

Previous Home Next

You can download different updates available also. Only developers and Enterprise administrators should download these releases.

Downloading and installing JDK (or J2SE) 1.6.0 on a Windows system is easy.
  1. Open the Java SE Download page with this url:
  2. Click the download button next to "JDK 6u2". You will see a new page with a list of different download files of JDK 6u2.
  3. Locate the "Windows Platform - Java(TM) SE Development Kit 6 Update 2" section.
  4. Click the hyper link of "Windows Offline Installation (build 06), Multi-language", which links to jdk-6u2-windows-i586-p.exe with size of 65.57 MB.
  5. Save jdk-6u2-windows-i586-p.exe to a temporary directory.
  6. Double-click on jdk-6u2-windows-i586-p.exe to start the installation wizard.
  7. The installation wizard will guide you to finish the installation.
  8. To test the installation, open a command window to try the java command. If you are getting the following output, your installation was ok:
  9. C:\>\progra~1\java\jdk1.6.0_02\bin\java -version

    java version "1.6.0_02"

    Java(TM) SE Runtime Environment (build 1.6.0_02-b06)

    Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode,sharing)

    Once JDK is installed, you can try to use it to compile and execute a simple Java program.

Installing and Configuring 32,64-bit Sun JDK 6.0 on Microsoft Windows
  1. Right click My Computer and select Properties.
  2. On the Advanced tab, select Environment Variables, and then edit JAVA_HOME to point to where the JDK software is located, for example, C:\Program Files\Java\jdk1.6.0_02.
For Linux is download and install required follow some simple steps

JDK RPM Installation for Linux (32-bit) System Requirement:

For more Detail:

Installation Instructions: This procedure installs the Java SE Runtime Environment for 32-bit Linux, using an RPM binary bundle. Some Linux distributions, such as Ubuntu, are not RPM-based. In that event, please see the self extracting installation page.

The name of the downloaded file has the following format:

jdk-6u

<version>-linux-i586-rpm.bin

<version>

jdk-6u18-linux-i586-rpm.bin

To install, download this file and use the following instructions:
  1. Download and check the file size on this URL:
  2. You can download to any directory that you can write to.

  3. Become root by running the su command and entering the root password.
  4. Extract and install the contents of the downloaded file.

    Change directory to where the downloaded file is located and run these commands to first set the executable permissions and then run the binary to extract and run the RPM file:

    % chmod a+x jdk-6u

    <version>-linux-i586-rpm.bin

    % ./jdk-6u

    <version>-linux-i586-rpm.bin

    Note: that the initial " ./" is required if you do not have " ." in your PATH environment variable. The script displays a binary license agreement, which you are asked to agree to before installation can proceed. Once you have agreed to the license, the install script creates and runs the file jdk-6u <version>-linux-i586.rpm in the current directory.

    Note: If you want to only extract the RPM file but not install it, you can run the .bin file with the -x argument. You do not need to be root to do this.

  5. Delete the rpm file if you want to save disk space.
  6. Exit the root shell.
  7. If you want to use Java within the browser, setup the plugin using the instructions in Manual Plugin Installation for Linux. The RPM package creates two links: /usr/java/latest and /usr/java/default.

    The /usr/java/latest link will always point to the version of Java that is considered the latest version. Subsequent upgrades of the package will overwrite this value if it is not the latest version.

    By default, /usr/java/default points to /usr/java/latest. However, if administrators change /usr/java/default to point to another version of Java, subsequent package upgrades will be provided by the administrators and cannot be overwritten.

    When the JDK is installed, links to javac, jar, and javadoc are also created apart from the JRE links. These links point to the appropriate tool referenced by /usr/java/default. This allows the user to easily run the default version of these Java tools.

    For more Detail:

Previous Home Next