Tuesday, 2 October 2012

Java Intorduction


    Java is a programming language created by James Gosling from Sun Microsystems in 1991. The first publicly available version of Java (Java 1.0) was released in 1995.

    Java is an object-oriented programming language with a built-in application programming interface (API) that can handle graphics and user interfaces and that can be used to create applications or applets. Because of its rich set of API's, similar to Macintosh and Windows, and its platform independence, Java can also be thought of as a platform in itself .

    Over time new enhanced versions of Java have been released. The current version of Java is Java 1.7 which is also known as Java 7.  



1.2 JDK(Java Development Toolkit) 

 This kit comes with collection of tools that are used for developing and running java program, they are following

1.  Javac - It is compiler, which translates Java source code into Byte code that interpreter can understand
2.  Java : - It is interpreter, that execute the program while reading and interpreting Byte code file.
3.  Appletviewer : It enables as to run java Applet without using a Java compatible Web Browser.
4.  Javadoc : It creates HTML format documentation from Java source code files.
5.  Jar : It is executable file.
6.  JVM : All the compilers convert the source code into the machine code for specific computer. Java compilers produce an intermediate code known as byte code for a machine. That does not exist. This machine called JVM and it only exists inside the computer memory. JVM is platform independent execution environment that converts Java byte code into machine language and execute java program.

1.3 Java Runtime Environment vs. Java Development Kit

    Java comes in two flavors, the Java Runtime Environment (JRE) and the Java Development Kit (JDK). The Java runtime environment (JRE) consists of the JVM and the Java class libraries and contains the necessary functionality to start Java programs. The JDK contains in addition the development tools necessary to create Java programs. The JDK consists therefore of a Java compiler, the Java virtual machine, and the Java class libraries.

1.4 Versions

    Major release versions of Java, along with their release dates:
  1. JDK 1.0 (October 1, 1992)
  2. JDK 1.1 (February 19, 1997)
  3. J2SE 1.2 (December 8, 1998)
  4. J2SE 1.3 (May 8, 2000)
  5. J2SE 1.4 (February 6, 2002)
  6. J2SE 5.0 (September 30, 2004)
  7. Java SE 6 (December 11, 2006)
  8. Java SE 7 (July 28, 2011)


No comments:

Post a Comment