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)

Downling and Installing jdk 1.7
Previous Home Next

Installation Instructions Notation:

For any text in this document that contains the following notation, you must substitute the appropriate update version number:

<version>

For example: if you were downloading the JDK installer for 32-bit systems for update 1.7.0_01, the file name: jdk-7<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.7.0_01, the file name jdk-7<version>-windows-x64.exe would become jdk-7u1-windows-x64.exe.

  1. Download jdk 1.7
  2. Now just duble click on this application and just follow the next Instructions step...
  3. Click on accept(licence aggrement)
  4. Select development tolls than next.
  5. Let is install.
  6. Select the program features you want installed.
  7. Now you will get one new window with title SE Runtime Enviroment 7 which is nothing but JRE JDK needs JRE to be install first so click next.
  8. The program features you selected are being installed.
  9. Wizard completed click finish.
let us see the path settings
  1. right click on the mycomputer ---> select properties--->advanced system.
  2. click on advanced system setting than it will show system properties window.
  3. now just click on Enviroment variables.
  4. open two parts window,click first new button.
  5. in variable name ---->path
  6. in variable value ----> class path (c:\Program Files \Java\jdk1.0.6\bin)
  7. now than click ok......ok.....
JDK 7 Installation for Linux Platforms

Installation of the 64-bit JDK on Linux Platforms:

This procedure installs the Java Development Kit (JDK) for 64-bit Linux, using an archive binary file (.tar.gz).

These instructions use the following file:

jdk-7u<version>-linux-x64.tar.gz

  1. Download the file, Before the file can be downloaded, you must accept the license agreement. The archive binary can be installed by anyone (not only root users), in any location that you can write to. However, only the root user can install the JDK into the system location.
  2. Change directory to the location where you would like the JDK to be installed. Move the .tar.gz archive binary to the current directory.
  3. Unpack the tarball and install the JDK.
  4. % tar zxvf jdk-7u<version>-linux-x64.tar.gz
  5. The Java Development Kit files are installed in a directory called jdk1.7.0_<version> in the current directory.
  6. Delete the .tar.gz file if you want to save disk space.
Installation of the 32-bit JDK on Linux Platforms:

This procedure installs the Java Development Kit (JDK) for 32-bit Linux, using an archive binary file (.tar.gz).

These instructions use the following file:

jdk-7u<version>-linux-i586.tar.gz

  1. Download the file, Before the file can be downloaded, you must accept the license agreement. The archive binary can be installed by anyone (not only root users), in any location that you can write to. However, only the root user can install the JDK into the system location.
  2. Change directory to the location where you would like the JDK to be installed. Move the .tar.gz archive binary to the current directory.
  3. Unpack the tarball and install the JDK.
  4. % tar zxvf jdk-7u<version>-linux-i586.tar.gz
  5. The Java Development Kit files are installed in a directory called jdk1.7.0_<version> in the current directory.
  6. Delete the .tar.gz file if you want to save disk space.
Installation of the 64-bit JDK on RPM-based Linux Platforms

This procedure installs the Java Development Kit (JDK) for 64-bit RPM-based Linux platforms, such as Red Hat and SuSE, using an RPM binary file (.rpm) in the system location. You must be root to perform this installation.

These instructions use the following file:

jdk-7u<version>-linux-x64.rpm

  1. Download the file. Before the file can be downloaded, you must accept the license agreement.
  2. Become root by running su and entering the super-user password.
  3. Uninstall any earlier installations of the JDK packages.

    # rpm -e <package_name>

  4. Install the package
    
    # rpm -ivh jdk-7u<version>-linux-x64.rpm
    To upgrade a package:
    # rpm -Uvh jdk-7u<version>-linux-x64.rpm
    
    
  5. Delete the .rpm file if you want to save disk space.
  6. Exit the root shell. No need to reboot.
Installation of the 32-bit JDK on RPM-based Linux Platforms:

This procedure installs the Java Development Kit (JDK) for 32-bit RPM-based Linux platforms, such as Red Hat and SuSE, using an RPM binary file (.rpm) in the system location. You must be root to perform this installation.

These instructions use the following file:

jdk-7u<version>-linux-i586.rpm

  1. Download the file. Before the file can be downloaded, you must accept the license agreement.
  2. Become root by running su and entering the super-user password.
  3. Uninstall any earlier installations of the JDK packages.

    # rpm -e <package_name>

  4. Install the package.
    
    # rpm -ivh jdk-7u<version>-linux-x64.rpm
    To upgrade a package:
    # rpm -Uvh jdk-7u<version>-linux-x64.rpm
    
    
  5. Delete the .rpm file if you want to save disk space.
  6. Exit the root shell. No need to reboot.
Previous Home Next